Hi there
I have a problem running Powershell commands with ExeOutput. I have a script that reads data from the %ProgramData% folder. If it is not in the C: drive, I need to find it. To do this, I need to read which drives are local hard drives (as opposed to any network drives), and I am doing this by using exec() and a Powershell command.
The script runs fine in a browser, but refuses to work from ExeOutput. It just hangs and does nothing. When I close my app, the window closes but the process is still running in the background and does not die.
This is my code:
Any help would be appreciated.
Many thanks,
Zoe
1 post - 1 participant