Any way to pause in a system command window before returning to mel script?

Any way to pause in a system command window before returning to mel script?

Anonymous
Not applicable
490 Views
0 Replies
Message 1 of 1

Any way to pause in a system command window before returning to mel script?

Anonymous
Not applicable

I'm using the system command to call a batch file.  I want to be able to have the batch file command window stay on screen once it's done, so that I can see the output.  I use system("start ..." to make it show the command window, and supposedly using start also makes the calling script wait until the command has finished before proceeding.

 

In the batch file I have tried putting 'pause' at the end, or requesting user input.  This works in that the command window does stay open, waiting for me to hit a key or enter the user input.  But the mel script is not waiting for that command window to close.  It continues on, as though the window has already closed.  Anyone know how to do it so that the mel script waits until I close the command window?

 

Thanks!

0 Likes
491 Views
0 Replies
Replies (0)