Re: C system() equivalent method.

2009-10-15 Thread Martin Buchholz
Hi Frédéric, Thanks for your suggestion. The JDK has long had a culture of pushing people to write portable code, and so any facility that would make it easier to interact with the operating system in a non-portable way meets resistance. Another issue is that the "default" C system shell tends t

Re: C system() equivalent method.

2009-10-15 Thread Mario Torre
Il 15/10/2009 15:32, Frédéric Martini ha scritto: Hello, Sorry to revive this request, but I think this is as simple but very useful method that must be present on Java 7. No one have an opinion on this? Fred, I'm not sure. In my opinion this is easy to do in application code using somethi

Re: C system() equivalent method.

2009-10-15 Thread Frédéric Martini
Hello, Sorry to revive this request, but I think this is as simple but very useful method that must be present on Java 7. No one have an opinion on this? Fred, Le 17 septembre 2009 09:16, Frédéric Martini a écrit : > Hello (before to start, sorry for my bad english) > > > I have seen in the

C system() equivalent method.

2009-09-17 Thread Frédéric Martini
Hello (before to start, sorry for my bad english) I have seen in the last JDK's build that ProcessBuilder allow to manage the process I/O more efficiently. In particular, the inheritIO() set the subprocess standard I/O to be the same as those of the current Java process, and offer a behavior "equ