[Mono-list] can't access a file

Spoiala Cristian scristian at gmail.com
Sun May 15 06:44:16 EDT 2005


>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


More information about the Mono-list mailing list