Revision 11853
Added by Aaron Marcuse-Kubitza about 11 years ago
lib/sh/util.sh | ||
---|---|---|
693 | 693 |
# convention: use fd 40/41/42 for command-specific alternate stdin/stdout/stderr |
694 | 694 |
# mnemonic: 4 looks like A for Alternate |
695 | 695 |
# do NOT use 1x, which are used by eval (which is used by set_fds()) |
696 |
# do NOT use 2x, which are used as global stdin/stdout/stderr
|
|
697 |
# do NOT use 3x, which are used for logging
|
|
696 |
# do NOT use 2x, which we use as global stdin/stdout/stderr
|
|
697 |
# do NOT use 3x, which we use for logging
|
|
698 | 698 |
|
699 | 699 |
setup_log_fd() # view logging output at verbosity >= 5 |
700 | 700 |
{ |
Also available in: Unified diff
lib/sh/util.sh: documented that fds 2x/3x should not be used because we use these, as opposed to 1x which is used by the shell internally