This module also defines one shortcut function:
-\begin{funcdesc}{call}{*args, **kwargs}
+\begin{funcdesc}{call}{*popenargs, **kwargs}
Run command with arguments. Wait for command to complete, then
return the \member{returncode} attribute.
This module also defines two shortcut functions:
-call(*args, **kwargs):
+call(*popenargs, **kwargs):
Run command with arguments. Wait for command to complete, then
return the returncode attribute.
STDOUT = -2
-def call(*args, **kwargs):
+def call(*popenargs, **kwargs):
"""Run command with arguments. Wait for command to complete, then
return the returncode attribute.
retcode = call(["ls", "-l"])
"""
- return Popen(*args, **kwargs).wait()
+ return Popen(*popenargs, **kwargs).wait()
def list2cmdline(seq):