Author: duncan
Date: Sun Jul 22 08:44:34 2007
New Revision: 9760

Log:
Removed the split when a command is a string, this should fix the problem of 
quotes in a string


Modified:
   branches/rel-1/freevo/src/childapp.py

Modified: branches/rel-1/freevo/src/childapp.py
==============================================================================
--- branches/rel-1/freevo/src/childapp.py       (original)
+++ branches/rel-1/freevo/src/childapp.py       Sun Jul 22 08:44:34 2007
@@ -125,8 +125,9 @@
 
         command_isstr = isinstance(command, str)
         if command_isstr:
-            command = command.split()
-        command_str = ' '.join(command)
+            command_str = command
+        else:
+            command_str = ' '.join(command)
         self.child = None
         try:
             self.child = Popen(command, shell=False, stdin=PIPE, stdout=PIPE, 
stderr=PIPE)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to