Fix popen to allow popen( cmd, arg1, arg2, arg3 )
This commit is contained in:
+1
-1
@@ -301,7 +301,7 @@ class Node( object ):
|
|||||||
raise Exception( 'popen() requires a string or list' )
|
raise Exception( 'popen() requires a string or list' )
|
||||||
elif len( args ) > 0:
|
elif len( args ) > 0:
|
||||||
# popen( cmd, arg1, arg2... )
|
# popen( cmd, arg1, arg2... )
|
||||||
cmd = args
|
cmd = list( args )
|
||||||
# Attach to our namespace using mnexec -a
|
# Attach to our namespace using mnexec -a
|
||||||
mncmd = defaults[ 'mncmd' ]
|
mncmd = defaults[ 'mncmd' ]
|
||||||
del defaults[ 'mncmd' ]
|
del defaults[ 'mncmd' ]
|
||||||
|
|||||||
Reference in New Issue
Block a user