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
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
t; >}
> > }
> >}
> >
> > However, the output is :
> >
> >Inside try
> >java.lang.UNIXProcess@156d6e
> >
> > instead of the result from typing "a.out" directly.
> >
> >
> >
> > On
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);
>
>
>
>
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);
>
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