Hi,
I am trying to run a shell script using subprocess in python.
I can run simple script with arguments using subprocess.But I am not able to embed xterm in subrocess command.
#!/usr/bin/python
import subprocess
subprocess.call(["xterm -e","./script.sh", fname2])
Above code gives me error.
Please help me in syntax
Thanks and Regards