Closed abmusse closed 9 years ago
Original comment by Aaron Bartell (Bitbucket: aaronbartell, GitHub: aaronbartell).
Fixed in this commit.
Original comment by Tony Cairns (Bitbucket: rangercairns, GitHub: rangercairns).
Ok, i just pushed a fix (see below). Trick use a different file descriptor '3' to avoid collision with system. Hopefully this works, let me know.
#!shell
function chroot_setup {
# copy needed PASE binaries
action=""
while read name <&3; do
... do stuff ...
done 3<$1
}
Original report by Aaron Bartell (Bitbucket: aaronbartell, GitHub: aaronbartell).
To recreate issue:
Only the first command,
DSPSYSVAL QSRLNBR
, will run. I am wondering if it has something to do withsystem
and it altering stdin/stdout? I've tried all manner ofsystem
options without success.Side note: I am not even sure if
system
outside a script is working correctly. For example, I believe the-q
option should silence all output but it still returns results.