On Wednesday, 7 December 2016 18:23:23 UTC, Michael Torrie wrote:
> Does Pexpect work on Windows?
Apparently yes:
https://pexpect.readthedocs.io/en/stable/overview.html#pexpect-on-windows
"New in version 4.0: Windows support"
> In the OP's case it looks like the standard in pipe is sufficient
This might be totally irrelevant, but, if (a) the data to be read by the
program during a given run is known when the program is run/launched, (b)
that data is purely textual and (c) that data can be read by the program
from the stdin channel, then my idea is (1) before the launch, put that
data in
On 12/07/2016 10:59 AM, John Gordon wrote:
> In Karim Farokhnia
> writes:
>
>> Hi there,
>
>> I am writing a batch file in Python. The batch file, in part, calls a
>> program named "oq-console.bat" to run. Then once the program comes up
>> (it looks like windows CMD), I need the batch file to
In Karim Farokhnia
writes:
> Hi there,
> I am writing a batch file in Python. The batch file, in part, calls a
> program named "oq-console.bat" to run. Then once the program comes up
> (it looks like windows CMD), I need the batch file to type some commands
> to make it run (just like I would
On 12/07/2016 10:43 AM, Karim Farokhnia wrote:
>> Is the program that oq-console.bat runs interactive? After it
>> launches into its own console window it asks for more input?
> The program doesn't ask for more input parameters as all parameters
> are in input files and the program will automatica
On Wednesday, December 7, 2016 at 12:18:51 PM UTC-5, Michael Torrie wrote:
> On 12/07/2016 09:38 AM, Karim Farokhnia wrote:
> > I am writing a batch file in Python. The batch file, in part, calls a
> > program named "oq-console.bat" to run. Then once the program comes up
> > (it looks like windows
On Dec 7, 2016 11:40 AM, "Karim Farokhnia"
wrote:
>
> Hi there,
>
> I am writing a batch file in Python. The batch file, in part, calls a
program named "oq-console.bat" to run. Then once the program comes up (it
looks like windows CMD), I need the batch file to type some commands to
make it run (j
On 12/07/2016 09:38 AM, Karim Farokhnia wrote:
> I am writing a batch file in Python. The batch file, in part, calls a
> program named "oq-console.bat" to run. Then once the program comes up
> (it looks like windows CMD), I need the batch file to type some
> commands to make it run (just like I wou
Hi there,
I am writing a batch file in Python. The batch file, in part, calls a program
named "oq-console.bat" to run. Then once the program comes up (it looks like
windows CMD), I need the batch file to type some commands to make it run (just
like I would do it by myself).
I need the batch f