- Subject: Re: system and shell redirect
 
- From: Romano Giannetti <romanol@xxxxxxx>
 
- Date: Thu, 13 Oct 2005 17:25:56 +0200
 
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]