I've got two scripts, both run from the windows command line (they contain argparse objects).
These interact in the following way: The first script determines which parser arguments to hand to the second script, it then formats them correctly and hands them to the second script through some form of subprocessess.call() arrangement.
When the second script requires no user interaction through the command line this all works fine. When the user is prompted for inputs by the seconds script as part of its processing, however, it all locks up.
How can I interact with the second script through the same command line that I'm running the first script in?
The second script can be one of several different ones, so any method would have to be flexible enough to handle passing any arguments to any script
Cheers
stdin = sys.stdinargument to subprocess