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);
>
>
>
> Yuet Sim Lee wrote:
>
> > I am writing a Java code which has to
Dear Bill and others:

I tried the above code suggested by Bill.
Perhaps surprisingly, it works only on
SUN workstations
but not on all the other machines (a PC running LINUX,
an SGI, and a machine running USB) that I tried.

BTW, I am using the following command in a *Java Applet*,
is it what causes the problem?

thanks in advance,
--Simmy

> > 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 "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
>-- End of excerpt from Bill Wandrack



----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to