exec-process fails to complete when executing bash script [message #1836765] |
Wed, 13 January 2021 13:18 |
Lee Gardner Messages: 4 Registered: October 2020 |
Junior Member |
|
|
I have a bash script that does the following:
Stops a component - changes the AUT date - starts the component that was previously stopped
The bash script takes one argument, the date and time that the AUT should be set to.
The bash script works fine when run from the terminal.
When I attempt to execute the bash script from RCPTT using the exec-process command, the first part appears to work fine. The component gets stopped. The AUT date also changes but RCPTT then either returns a failure (timeout) or it continues to execute without doing anything, i.e. it never starts the component.
Below is my ECL code:
exec-process -command "/mnt/home/Scripts/stop_SetDate_Start.sh" -args "2019/01/01 00:00:00" -timeout 180 -ignoreStderr "true" | get stdout | log
Has anyone seen a similar issue before? I am out of ideas of what to try next!
[Updated on: Thu, 14 January 2021 08:40] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03472 seconds