Hi,

I have this weird issue that I can't explain. Example:

This works:
`echo test | sem --id test --fg -q -j 5 --pipe -- cat`

This doesn't:
`podman run --rm -it --userns='keep-id:uid=11111,gid=11111' --tmpfs /tmp --security-opt='unmask=/proc/*' 'docker.io/patlefort/pat-aur:latest' bash -c 'echo test | sem --id test --fg -q -j 5 --pipe -- cat'`

result in `exec failed:No such file or directory at - line 1.`.

Using -t:
```
perl -e 'if(sysread(STDIN,$buf,1)){open($fh,"|-",@ARGV)||die;syswrite($fh,$buf);while($read=sysread(STDIN,$buf,59000)){syswrite($fh,$buf);}close$fh;exit($?&127?128+($?&127):1+$?>>8)}' /usr/sbin/bash -c 'perl - $PARALLEL_SEQ' perl -e 'if(sysread(STDIN,$buf,1)){open($fh,"|-",@ARGV)||die;syswrite($fh,$buf);while($read=sysread(STDIN,$buf,59000)){syswrite($fh,$buf);}close$fh;exit($?&127?128+($?&127):1+$?>>8)}' /usr/sbin/bash -c 'perl - $PARALLEL_SEQ' perl -e 'if(sysread(STDIN,$buf,1)){open($fh,"|-",@ARGV)||die;syswrite($fh,$buf);while($read=sysread(STDIN,$buf,59000)){syswrite($fh,$buf);}close$fh;exit($?&127?128+($?&127):1+$?>>8)}' /usr/sbin/bash -c 'perl - $PARALLEL_SEQ' perl -e 'if(sysread(STDIN,$buf,1)){open($fh,"|-",@ARGV)||die;syswrite($fh,$buf);while($read=sysread(STDIN,$buf,59000)){syswrite($fh,$buf);}close$fh;exit($?&127?128+($?&127):1+$?>>8)}' /usr/sbin/bash -c 'perl - $PARALLEL_SEQ' perl -e 'if(sysread(STDIN,$buf,1)){open($fh,"|-",@ARGV)||die;syswrite($fh,$buf);while($read=sysread(STDIN,$buf,59000)){syswrite($fh,$buf);}close$fh;exit($?&127?128+($?&127):1+$?>>8)}' /usr/sbin/bash -c 'perl - $PARALLEL_SEQ'
```

I am quite certain that it used to work. My system and the container are both Arch based and sem --version report version 20260422.

Any clues as to what could be happening?

Reply via email to