| 406 |
| 407 |
| 408 |
| 409 |
| 410 |
| 411 |
| 412 |
| 413 |
| 414 | |
def call(*args, **kwargs): |
"""Run command with arguments. Wait for command to complete, then |
return the returncode attribute. |
|
The arguments are the same as for the Popen constructor. Example: |
|
retcode = call(["ls", "-l"]) |
""" |
return Popen(*args, **kwargs).wait() | |