[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ast-developers
Subject:    [ast-developers] Regression with handling redirections inside subshell
From:       Siteshwar Vashisht <svashisht () redhat ! com>
Date:       2017-04-06 14:59:31
Message-ID: 1766773262.12078009.1491490771804.JavaMail.zimbra () redhat ! com
[Download RAW message or body]

Hello,

With 2013-10-10-alpha there was a behavior change in ksh which causes shell to block \
in below example :

      1 #!/bin/ksh
      2 function zzz
      3 {
      4 sleep 30 >/dev/null &
      5 echo $!
      6 }
      7 
      8 PID=$(zzz)
      9 echo "PID=$PID"

This regression is caused by parameter change from '1' to '3' at [1] and has not been \
fixed in upstream yet. Is anyone aware about fix for this issue ?

[1] https://github.com/att/ast/blob/c506cb548d9b4bcebef92c86e948657728760e15/src/cmd/ksh93/sh/macro.c#L1201


-- 
--
Siteshwar Vashisht
_______________________________________________
ast-developers mailing list
ast-developers@lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-developers


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic