Please help! I usually have no issue gathering output from command line using perl with the SYSYEM() or backticks `` and placing the results into variable. That is, until I tried to call the output of powershell.exe. The most basic command:
powershell.exe -command "& echo hello"
The perl script will run fine from the command line, however, running the same script from CGI via web browser fails. If I substitute the powershell command for any standard windows command I will see the output in the browser so it's not a script issue
I have also tried calling from a batch file:
@go = system "C:\\Inetpub\\wwwroot\\man
... I don't think this is a perl issue but rather IIS/windows restriction with powershell.exe. Other people have also been experiencing this issue:
Any thoughts on this?