Azerex Posted May 4, 2014 Share Posted May 4, 2014 So I have a web server setup on a remote windows machine using wamp. I am trying to run this php script and have it open the file on that machine: <?php exec('C:\Users\*user*\Desktop\PSTools\PsExec.exe -accepteula -i -s C:\wamp\www\Titanium.exe', $output); ?> This code causes it to indefinately hang. Any suggestions? Link to comment https://forums.phpfreaks.com/topic/288238-pstools-psexec-help/ Share on other sites More sharing options...
Azerex Posted May 8, 2014 Author Share Posted May 8, 2014 So I was messing around with the code more and I tried moving the PsTools directory into the wamp server and the calling it from the new path. This now does not cause it to indefinitely hang however, it still does not run the intended program on the remote computer. Link to comment https://forums.phpfreaks.com/topic/288238-pstools-psexec-help/#findComment-1478678 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.