Kaffe 1.0beta1 on RedHat Linux 5.1
    Godmar Back 
    gback at cs.utah.edu
       
    Wed Sep 16 15:14:52 PDT 1998
    
    
  
> 
> satya seshu kumar dammu <seshukumar49 at netscape.net> writes:
> 
> >      r.exec("/bin/ls > /home/seshu/zzz ");
> 
> This is not supposed to work.  Redirection is performed by a shell,
> but r.exec won't run a shell.  If you want shell processing, run:
> 
>        r.exec(new String[] { "/bin/sh", "-c", "/bin/ls > /home/seshu/zzz" });
> 
Well, if it runs under Sun's JDK (read: Sun fires off a shell in exec)
guess how's going to lose.
	- Godmar
    
    
More information about the kaffe
mailing list