Author: duncan
Date: Fri Dec 29 22:53:58 2006
New Revision: 8863

Modified:
   branches/rel-1/freevo/freevo

Log:
Set check to 0 for "freevo prompt"; don't see why a python prompt was not
allowed when freevo is running.


Modified: branches/rel-1/freevo/freevo
==============================================================================
--- branches/rel-1/freevo/freevo        (original)
+++ branches/rel-1/freevo/freevo        Fri Dec 29 22:53:58 2006
@@ -358,6 +358,7 @@
 elif arg == 'prompt':
     # only run python inside the freevo env
     proc = []
+    check = 0
 
 elif arg == 'runapp':
     # Oops, runapp. We don't start python, we start sys.argv[1]
@@ -405,7 +406,7 @@
             print 'can\'t find helper %s' % name
             sys.exit(1)
 
-if getpid(name, python + proc)[1] and check:
+if check and getpid(name, python + proc)[1]:
     if name != 'freevo':
         print '%s still running, run \'freevo %s stop\' to stop' % (name, name)
     else:

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to