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);
            Process.Start(startInfo);
          
where as the script file(helloworld.sh) contains

            <b>#!/bin/bash
            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.

_______________________________________________
Mono-aspnet-list mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list

Reply via email to