Consultor Eletrônico



Kbase P8616: How to use -b on Windows to return immediately to the command prompt?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/11/2010
Status: Verified

GOAL:

How to use -b on Windows to return immediately to the command prompt?

GOAL:

How to start a batch progress client but return immediately to the command prompt?

FACT(s) (Environment):

Progress/OpenEdge Product Family
Windows

FIX:

The -b progress startup parameter is to initiate a batch session with no terminal interaction.
On Windows by default, it does not start the process and then immediately return to the command prompt, it will wait for the process to finish.
This is different to UNIX which returns immediately to the prompt.

To start a process from command prompt and immediately return to thecommand prompt, you need to change the method of launching your batch process to incorporate the Windows START command.
The START command starts a separate window to run a specified program, if you incorporate this with the /B parameter, it will not create a new window, it will run the process in the background but return the current window to the command prompt whilst it is processing.

Example:

START /B _progres.exe -b -p myprog.p