Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_java thread: Can I run dos command from java ?????????????????


Message #1 by "Mohammad Jamous" <mjamous@n...> on Sat, 26 May 2001 11:00:11 +0300
java.lang.Runtime.exec(String) allows you to execute an external program.
This method returns a Process object, which supports getExitValue().

Hope have helped you somehow...

> -----Mensaje original-----
> De: Mohammad Jamous [mailto:mjamous@n...]
> Enviado el: sabado, 26 de mayo de 2001 10:00
> Para: Professional Java
> Asunto: [pro_java] Can I run dos command from java ?????????????????
>
>
> Hi there
> my problem is that I want to deal with perl in java , I mean that
> I want to
> exec command on dos editor,
> and this command will return a value , so there are a way to solve that or
> not ?????????
>
> Best Regards
> M. Jamous
>
>
>

  Return to Index