>From a mono program I launch another program with arguments like this:

System.Diagnostics.Process proc = new System.Diagnostics.Process (); 
proc.StartInfo.FileName = "nmap";           
proc.StartInfo.Arguments = opt.Arguments;               
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.RedirectStandardOutput = true;
proc.StartInfo.RedirectStandardError = true;            
proc.Start ();

Everything is working fine until the program nmap need to access a
file. I need to set some permissions for the process ?

-- 
- Spoiala Cristian http://scristian.blogspot.com
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to