I am trying to execute the following command line via Python.
Cat File |grepcidr -f file.name >>output.file
if I use subprocess.call
subprocess.call(["cat", "File", "|", "grepcidr -f", "file.name", ">>output.file"])
It just tries to Cat everything.
Any help would be appreciated.