I have the following code which i am using to check if the program class-dump exists on a system. The program only returns a blank.
cmd = ["which","class-dump"]
process = subprocess.Popen(cmd, stdout=subprocess.PIPE)
print process.stdout.read()
This code always returns a blank. Technically it should work right ?
Hmmm, it looks like the class-dump does not exists (in the PATH used by your python interpreter)