[Mono-aspnet-list] could not execute linux shell script from asp.net application

RaviThapliyal thapliyal.ravi at gmail.com
Fri Jun 12 07:36:01 EDT 2009

Is there a way out to execute a shell script (created in linux) from asp.net
application for e.g. i want to create file called "foo.txt" by calling a
shell script file

my asp.net(C#) code is:
            string batchFile = "/srv/www/htdocs/helloworld.sh";
            ProcessStartInfo startInfo = new ProcessStartInfo(batchFile);
where as the script file(helloworld.sh) contains

            cat> foo.txt

I would appreciate for the responses..
View this message in context: http://www.nabble.com/could-not-execute-linux-shell-script-from-asp.net-application-tp23993353p23993353.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.

More information about the Mono-aspnet-list mailing list