thanks!!!
if some one need the code, i' m using this with success for:
load an exe application that need mono on windows and after exit:
private static void StartProcessAndExit(){
ProcessStartInfo ps = ps = new ProcessStartInfo
("C:\\Programmi\\Mono-2.4\\bin\\mono.exe","C:\\Programmi\\x.exe");
ps.WorkingDirectory =
Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
ps.UseShellExecute = false;
ps.RedirectStandardOutput = true;
using (Process p = Process.Start (ps)) {
//p.WaitForExit ();
//string output = p.StandardOutput.ReadToEnd ();
//Console.WriteLine (output);
}
Environment.Exit(-1);
}
--
View this message in context:
http://www.nabble.com/shell-another-mono-app-with-ProcessStartInfo-tp23242099p23245127.html
Sent from the Mono - General mailing list archive at Nabble.com.
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list