Menu
  • HOME
  • TAGS

How to disown bash process substitution

bash,process-substitution

My question was wrong. In my setup I use supervisord to control few processes. As it has limited syslog support and does not allow to use different tags when redirecting processes' stderr to syslog, I use the above shell script for that. While testing the script I noticed CRIT reaped...

How can Python heredoc be used as input for a Bash process substitution?

python,bash,process-substitution

Python's os.system() is defined in terms of C's system() function, which runs the given command via /bin/sh -c <the command>. Even if /bin/sh is an alias for bash, when bash is started as sh, it operates in POSIX mode, and POSIX does not provide process substitution (the <(<command>)). It looks...