Consultor Eletrônico



Kbase 16526: CTRL-C within Progress exit out of shell script to o/s
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
CTRL-C within Progress exit out of shell script to o/s

To allow for ctrl-c from within the Progress editor (without exiting
out of the shell script to the operating system UNIX prompt) add these
following lines to the script:

#!Shell to start Progress
trap "echo >/dev
ull" 2
pro
echo "It works!"

To test this run the shell script, when in the editor, type ctrl-c
then quit F1 and you will see the echo. If you comment out the trap
statement you will not see the echo.

01-02-97

Progress Software Technical Support Note # 16526