1 |
On 06/02/2012 02:12 PM, Mike Frysinger wrote: |
2 |
> On Saturday 02 June 2012 16:39:16 Zac Medico wrote: |
3 |
>> On 06/02/2012 12:54 PM, Mike Frysinger wrote: |
4 |
>>> if [[ ! -L /dev/fd/${fd} ]] ; then |
5 |
>>> eval "exec ${fd}${redir}'${file}'" && break |
6 |
>>> fi |
7 |
>> |
8 |
>> I launched up a GhostBSD livedvd to see what /dev/fd/ looks like on |
9 |
>> FreeBSD, and it seems to contain plain character devices instead of |
10 |
>> symlinks to character devices: |
11 |
> |
12 |
> i didn't want to use [ -e ] because of broken links, but it seems that Linux |
13 |
> has diff semantics with /proc and broken symlinks. `test -e` will return true. |
14 |
> -mike |
15 |
|
16 |
How about if we just create a fallback mode for older bash, where no |
17 |
pipes are involved, and multijob_post_fork just uses `wait` to check |
18 |
status and effectively causes only one job to execute at a time? |
19 |
-- |
20 |
Thanks, |
21 |
Zac |