Fix run_shell_script default command argument
run_shell_script default command argument contains an invalid 'sh' command : read -n 1
Which returns the following error : "-n: 1: read: arg count"
This fix consists of replacing the read -n 1
command by : read null
Because the 'bash' version of the read
command accepts -n
, another fix would have been to use 'bash' instead of 'sh'. I don't know what the best approach is.
To be honest I didn't find the documentation of the 'sh' version of the read
command, and I found the "read null" trick on a forum.
Reviewers, can you test "read null" on your system ?