asp classic - Running bash script from IIS6 -


running iis6 on windows 2003. i'm trying set simple asp page runs bash script:

dim wshshell set wshshell = createobject("wscript.shell")  dim command command = "c:\inetpub\wwwroot\bin\bash.exe /cygdrive/c/inetpub/wwwroot/test.sh"  wshshell.run(command) set wshshell = nothing 

i've configured iis6 use account iusr_servername identity default application pool, , confirmed script executes when run command line using

runas /usr:iusr_servername [command] 

if set command notepad.exe, iis6 launches (with no window, of course, can see in task manager, , user name set iusr_servername).

is there i'm overlooking need configure? i've got similar script running on windows 7 / iis7, , wasn't difficult running.

resolved: switched lightweight mongoose web server (using tcl cgi script instead of asp). our purposes -- running simple demo -- works fine, , less painful , running.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -