============================================================== [1] pclose( popen( $cmdln, 'r' ) ); -------------------------------------------------------------- test-pc worked with popen. * Make sure php in the enviroment path * Reboot Windows ============================================================== [2] deamon method -------------------------------------------------------------- deamon failed. deamon is batch file that starts a php scirpt keeps monitoring a drop folder to see if anyone drops a command file. If any, then it picks it up and run it using pclose( popen( $txt, 'r' ) ). It works for the first run but in the second run, it gets an error message, "it's alredy run by another process" ============================================================== [3] curl method -------------------------------------------------------------- curl method seems to work but it's still web server's process. It's preferable to hava a stand along process that pops up in a desktop like [1] ==============================================================