30 Dec
2015
30 Dec
'15
6:25 p.m.
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