[Mono-aspnet-list] Not executing shell script from asp.net
bitforumadmin at gmail.com
Mon Aug 3 03:55:48 EDT 2009
I have a shell script helloworld.sh in /usr/test directory on open suse 11.0
which has the code to create a new blank file foo.txt.
Owner of this directory is wwwrun:www and has full permissions on this
directory. Tested executing the helloworld.sh file from the terminal by
logging as wwwrun user.
It is working from there.
When trying to execute shell script from asp.net with the following code:
Process shProcess = new Process();
shProcess.StartInfo = new ProcessStartInfo("/bin/sh",
It is neither throwing any error not executing the script.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-aspnet-list