It seems what i need, but the namespace Process was not found in the System.Diagnostics. WHere is it ??
SaS On Thu, 1 Dec 2005 16:17:44 -0200 Everaldo Canuto <[EMAIL PROTECTED]> wrote: > HI, > > You need to make something like this: > > Process process = new Process(); > process.StartInfo.UseShellExecute = false; > process.StartInfo.RedirectStandardOutput = true; > process.StartInfo.RedirectStandardError = true; > process.StartInfo.RedirectStandardInput = true; > process.StartInfo.CreateNoWindow = true; > process.StartInfo.WorkingDirectory = "./"; > process.StartInfo.FileName = "firefox"; > process.StartInfo.Arguments = "www.mono-project.com"; > process.EnableRaisingEvents = true; > process.Start(); > process.WaitForExit(); > > Take a look at Process classe documentation and you understand how it works. > > Everaldo > > 2005/12/1, Salvatore Scarciglia <[EMAIL PROTECTED]>: > > 1. How can i launch an external program such as Firefox or NEdit ? > > 2. Is it possible to check the status of the running application ? > > 3. What happens if the launcher terminate its job ? > > > > Thanx. > > SaS > > _______________________________________________ > > Mono-list maillist - [email protected] > > http://lists.ximian.com/mailman/listinfo/mono-list > > _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
