jed-users mailing list

[2005 Date Index] [2005 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: system and shell redirect


On Thu, Oct 13, 2005 at 12:10:48PM +0200, G. Milde wrote:
>   
> The output of the system command goes "upstream", no problem in xjed, but
> jed in an xterm gets messed up. In jed <= 99.16 it was possible to use
> 
>   system("which jed >& /dev/null");
>   
> to do away with the output. Now (Jed Version: B0.99.17-111
> S-Lang Version: 2.0.4) the return value of this command with shell redirect
> is 512.

Hmm... the >& is a csh-ism, no? maybe Jed switched from using the user shell
to using bourne shell inconditionally for the system() call? 

Romano

-- 
Romano Giannetti             -  Univ. Pontificia Comillas (Madrid, Spain)
Electronic Engineer - phone +34 915 422 800 ext 2416  fax +34 915 596 569

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2005 date index] [2005 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]