tag:blogger.com,1999:blog-3195885170348729753.post964233005408232282..comments2023-11-29T17:45:50.424+01:00Comments on Java mon amour: Executing a OS command in Java and capture the stdoutUnknownnoreply@blogger.comBlogger2125tag:blogger.com,1999:blog-3195885170348729753.post-58776242203289493382012-07-08T07:30:59.548+02:002012-07-08T07:30:59.548+02:00Raju, I did test it and it worked on Linux (of cou...Raju, I did test it and it worked on Linux (of course "ls" is a Unix command)... the methodology, I admit, is a bit iffy, sometimes there is some synchronization issue. If you are working locally, the best thing is to redirect the Unix command stdout to a file, and then display the content of that file. Much safer.vernettohttps://www.blogger.com/profile/00289134594764720847noreply@blogger.comtag:blogger.com,1999:blog-3195885170348729753.post-6334952611114492132012-07-08T05:44:59.460+02:002012-07-08T05:44:59.460+02:00You might want to check the method again, it doesn...You might want to check the method again, it doesn't work.Raju Anganihttps://www.blogger.com/profile/17066550010968513371noreply@blogger.com