Progress_Learner
Member
Dear All,
I am trying to run multiple UNIX scripts (.sh files) via INPUT THROUGH in Progress program (.P). Below code gets called multiple times and with updated full path of shell script in Script-file.
I am able to run only one script that comes first. Rest scripts are not running but as per INPUT THROUGH documentation, each script should run as a separate process under its own shell.
I am assuming that issue could be from working directory as INPUT THROUGH is not taking the full path from Script-file rather its referencing “PWD” of UNIX from where we first run this program.
Please suggest how to run multiple scripts via INPUT THROUGH as separate process under its own shell.
Regards
I am trying to run multiple UNIX scripts (.sh files) via INPUT THROUGH in Progress program (.P). Below code gets called multiple times and with updated full path of shell script in Script-file.
Code:
INPUT THROUGH (Script-file) NO-ECHO.
IMPORT file-name.
INPUT CLOSE.
I am able to run only one script that comes first. Rest scripts are not running but as per INPUT THROUGH documentation, each script should run as a separate process under its own shell.
I am assuming that issue could be from working directory as INPUT THROUGH is not taking the full path from Script-file rather its referencing “PWD” of UNIX from where we first run this program.
Please suggest how to run multiple scripts via INPUT THROUGH as separate process under its own shell.
Regards