Evoke Unix call ">" from Java??

1999-07-22 Thread Yuet Sim Lee
tring command = "ppmtogif inputfile > outputfile"; try { Process GUIP = Runtime.getRuntime().exec(command); } // End for try It does not do work. --Sim -- Yuet Sim Lee -- To UNSUBSCRIBE, email to [EMAIL

deprecated API??

1999-05-21 Thread Yuet Sim Lee
n addition, I saw the documentation from http://java.sun.com/products/jdk/1.0.2/api/java.io.OutputStream Do you know a new WWW based documentation for version 1.1.5? --Simmy -- Yuet Sim Lee -- To UNSUBSCRIBE, email

How to read from output streams

1999-05-21 Thread Yuet Sim Lee
t; >} > > } > >} > > > > However, the output is : > > > >Inside try > >java.lang.UNIXProcess@156d6e > > > > instead of the result from typing "a.out" directly. > > > > > > > > On

Re: How to make a system call in Java

1999-05-18 Thread Yuet Sim Lee
On May 12, 7:08pm, Bill Wandrack wrote: > Subject: Re: How to make a system call in Java > You can make system calls with java by using Process. > > > String command = "mkdir new_dir"; > Process createNewDir = Runtime.getRuntime().exec(command); > > > >

Re: How to make a system call in Java

1999-05-12 Thread Yuet Sim Lee
ut" directly. On May 12, 7:08pm, Bill Wandrack wrote: > Subject: Re: How to make a system call in Java > You can make system calls with java by using Process. > > > String command = "mkdir new_dir"; > Process createNewDir = Runtime.getRuntime().exec(command); >

How to make a system call in Java

1999-05-12 Thread Yuet Sim Lee
I am writing a Java code which has to call another C-program. I knew that C has a system call, exec or system. Are there any similar system call in Java? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubsc