[Python-Dev] subprocess check_output
Carlos Barera
carlos.barera at gmail.com
Wed Dec 30 13:25:02 EST 2015
More information about the Python-Dev mailing list
Wed Dec 30 13:25:02 EST 2015
- Previous message (by thread): [Python-Dev] PEP 257 and __init__
- Next message (by thread): [Python-Dev] subprocess check_output
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, Trying to run a specific command (ibstat) installed in /usr/sbin on an Ubuntu 15.04 machine, using subprocess.check_output and getting "/bin/sh: /usr/sbin/ibstat: No such file or directory" I tried the following: - running the command providing full path - running with executable=bash - running with (['/bin/bash', '-c' , "/usr/sbin/ibstat"]) Nothing worked ... Any idea? -carlos -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20151230/96378105/attachment.html>
- Previous message (by thread): [Python-Dev] PEP 257 and __init__
- Next message (by thread): [Python-Dev] subprocess check_output
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list