Command prompt:
C:\Users\Documents\libexe\tfc\bin\Debug>asc-dir
asc-dir.: directory not linked to an ASC directory //Expected output
Test Script:
proc = subprocess.Popen('asc-dir', stdout=subprocess.PIPE, shell = True)
(result, err) = proc.communicate()
This prints "asc-dir.: directory not linked to an ASC directory" to the console but is not saved to result or err.
How can I save the output to result / err?
When I try Popen with shell=False, I get the following error: 
Error:
    WindowsError: [Error 2] The system cannot find the file specified
    Press any key to continue . . .
 
     
     
    