[Python-Dev] subprocess check_output
Eric V. Smith
eric at trueblade.com
Wed Dec 30 14:07:49 EST 2015
This mailing list is for the development of future versions of Python.
For questions about using Python, please use python-list:
https://mail.python.org/mailman/listinfo/python-list
Eric.
On 12/30/2015 07:25 PM, Carlos Barera wrote:
> 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
>
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/eric%2Ba-python-dev%40trueblade.com
>
More information about the Python-Dev
mailing list