I am new to the subprocess.call function and I have tried different combinations of the same call but it is not working.
I am trying to execute the following command
it is not to compecated execute above command in python:
import subprocess import sys proc = subprocess.Popen(['sort','-k1','1', '-k4','4n', '-k5','5n', '+outpath+fnametempout+', '>', '+outpath+fnameout'],stdin=subprocess.PIPE) proc.communicate()