Fix popen to allow popen( cmd, arg1, arg2, arg3 )

This commit is contained in:
Bob Lantz
2012-05-23 20:04:36 -07:00
parent e1ca7196c7
commit 06f7408cf2
+1 -1
View File
@@ -301,7 +301,7 @@ class Node( object ):
raise Exception( 'popen() requires a string or list' )
elif len( args ) > 0:
# popen( cmd, arg1, arg2... )
cmd = args
cmd = list( args )
# Attach to our namespace using mnexec -a
mncmd = defaults[ 'mncmd' ]
del defaults[ 'mncmd' ]