Kaffe 1.0beta1 on RedHat Linux 5.1

Alexandre Oliva oliva at dcc.unicamp.br
Wed Sep 16 22:33:05 PDT 1998


I wrote:

>> 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" });

Godmar Back <gback at cs.utah.edu> writes:

> Well, if it runs under Sun's JDK (read: Sun fires off a shell in exec)

It does not.  I've tested it with Sun JDK 1.1.6 for Solaris/sparc.

-- 
Alexandre Oliva
mailto:oliva at dcc.unicamp.br mailto:aoliva at acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil



More information about the kaffe mailing list