View Single Post
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#9
ladoga, can you help me to create a simple script that can check if SimpleHTTPServer runs or not and if it is running -> command to close, if not running -> start this "httpshare ~/MyDocs/Movies"
I want to create desktop icon for this:
1. one click = check if SimpleHTTPServer run or not and if it is runing -> command to close.
2. second click = check if SimpleHTTPServer run or not and if it is NOT run -> start this "httpshare ~/MyDocs/Movies"

Thanks

Last edited by Schturman; 2013-01-01 at 23:38.