[Mono-list] shell another mono app with ProcessStartInfo

giancarlogiesa giancarlogiesa at gmail.com
Sun Apr 26 09:42:06 EDT 2009


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.



More information about the Mono-list mailing list