From d2fc3d2420e63330ec5aedf788c812d8e51eb7db Mon Sep 17 00:00:00 2001 From: tt41 Date: Tue, 4 Oct 2011 14:08:03 +0200 Subject: set process name for beter handler --- notFinishedCode/web/mutex1.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'notFinishedCode') diff --git a/notFinishedCode/web/mutex1.php b/notFinishedCode/web/mutex1.php index 7a92fe0..7d7c14a 100644 --- a/notFinishedCode/web/mutex1.php +++ b/notFinishedCode/web/mutex1.php @@ -49,7 +49,7 @@ if ($locking == '1') //1 means nobody is on the website if($softwareRunning == '1') //1 means software is not started yet, start it { - exec("/usr/bin/python /var/www/server1.py > /dev/null 2>&1 &"); //start the software in background and don't wait for any output + exec("/usr/bin/python /var/www/server1.py > /dev/null2>&1 &"); //start the software in background and don't wait for any output sleep(1); //sleep half second till the software starts //the software should be running already and set the lock, now we test it and then connect to it! -- cgit v1.2.3-55-g7522