N
NayJo
I am trying to gather more data about this because the information that I am
getting frankly does not make sense. So I hope that you can forgive me
posting at this early phase just so I can check my assumptions.
We are running a batch file, I assume through CMD.EXE but that is one of my
assumptions, that in turn runs a 16-Bit DOS exe using 'start /Wait
progname.exe'.
What I hear is happening is that the exe is opening in its own window and
the users are closing the command window that is running the batch file
before progname.exe is finished running.
I know that this is how 'start /Wait' is documeneted to behave for a 16-bit
executable so I asked that the person running the test change the batch file
to call progname.exe without using the start command.
But they tell me that that when they replace 'start /Wait ...' with
'progname.exe' that a new window is opened anyway for progname.exe and the
batch file continues execution and exits completely.
Any thoughts on why the exe might not be running in the same context as the
batch file? Is there a way to force the exe to run in the same context as
the batch file?
Many thanks in advance,
J
getting frankly does not make sense. So I hope that you can forgive me
posting at this early phase just so I can check my assumptions.
We are running a batch file, I assume through CMD.EXE but that is one of my
assumptions, that in turn runs a 16-Bit DOS exe using 'start /Wait
progname.exe'.
What I hear is happening is that the exe is opening in its own window and
the users are closing the command window that is running the batch file
before progname.exe is finished running.
I know that this is how 'start /Wait' is documeneted to behave for a 16-bit
executable so I asked that the person running the test change the batch file
to call progname.exe without using the start command.
But they tell me that that when they replace 'start /Wait ...' with
'progname.exe' that a new window is opened anyway for progname.exe and the
batch file continues execution and exits completely.
Any thoughts on why the exe might not be running in the same context as the
batch file? Is there a way to force the exe to run in the same context as
the batch file?
Many thanks in advance,
J