i have find one part of the solution:

private static void Start(){

        ProcessStartInfo 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;
        Process p = Process.Start (ps);
}

but if i close the console application that run this code, the second
application ( x.exe ) will be closed
so i have two possible solution 

1) hide the console application
2) make indipendent the second application

i have no idea how i can do...
-- 
View this message in context: 
http://www.nabble.com/shell-another-mono-app-with-ProcessStartInfo-tp23242099p23242296.html
Sent from the Mono - General mailing list archive at Nabble.com.

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to