Azerex Posted May 4, 2014 Share Posted May 4, 2014 (edited) 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? Edited May 4, 2014 by Azerex Quote Link to comment Share on other sites More sharing options...
Azerex Posted May 8, 2014 Author Share Posted May 8, 2014 (edited) 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. Edited May 8, 2014 by Azerex Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.