- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
When attempting to run a model from a batch file multiple times, the batch file (run from a DOS window) halts because when the application completes one execution cycle the screen message "Program Terminated with exit code 0. Exit Window?" appears. How can this be avoided?
John
John
- Etiquetas:
- Intel® Fortran Compiler
Enlace copiado
3 Respuestas
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
In your batch file where you have
YourProgramNameHere arg1 arg2
Try
START /WAIT YourProgramNameHere arg1 arg2
Use START /? to get options
You also may need to look at
START /WAIT CMD /C YourProgramNameHere arg1 arg2
Jim Dempsey
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Start your program with a CALL to a batchfile that starts your program? Make sure you do not specify an exit code using STOP exitcode or CALL EXIT(exitcode) in your program?
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Quoting - [email protected]
When attempting to run a model from a batch file multiple times, the batch file (run from a DOS window) halts because when the application completes one execution cycle the screen message "Program Terminated with exit code 0. Exit Window?" appears. How can this be avoided?
John
John
lret = SetExitQQ (QWin$ExitNoPersist)
avoids the Program Terminated message in a QuickWin application.
Markus
Responder
Opciones de temas
- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla