java programming question

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

java programming question

Ashok Shrestha
What is the Java equivalent of C++ system(char*) ?

That is, how can I run shell code using Java?

--
Ashok Shrestha
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: java programming question

Nicklas Johnson-3
See the API for Runtime, specifically Runtime.exec(...)

    Nick

On Thu, 22 Dec 2005, Ashok Shrestha wrote:

> What is the Java equivalent of C++ system(char*) ?
>
> That is, how can I run shell code using Java?
>
> --
> Ashok Shrestha
> _______________________________________________
> [hidden email] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "[hidden email]"
>
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: java programming question

Ashok Shrestha
Thank you.

On 12/22/05, Nick Johnson <[hidden email]> wrote:

> See the API for Runtime, specifically Runtime.exec(...)
>
>     Nick
>
> On Thu, 22 Dec 2005, Ashok Shrestha wrote:
>
> > What is the Java equivalent of C++ system(char*) ?
> >
> > That is, how can I run shell code using Java?
> >
> > --
> > Ashok Shrestha
> > _______________________________________________
> > [hidden email] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-java
> > To unsubscribe, send any mail to "[hidden email]"
> >
>


--
Ashok Shrestha
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "[hidden email]"