This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
    Bookmark Topic Watch Topic
  • New Topic

Issue in executing System Command through Java

 
ashwin bala
Ranch Hand
Posts: 41
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,
I am trying to execute a system command through java.I am trying to check whether a particular service is running in a
remote PC.When i execute a same command in local PC i.e. without IP Address, then i am getting proper output response.But
when i use remote IP Address and BufferedReader to get the response ,the application is getting hang after
BufferedReader.readLine() method call.. I have attached the code which i have written.



The execution stops after line 17: bufferedReader.readLine(); with out any error
 
Ranganathan Kaliyur Mannar
Bartender
Posts: 1101
10
Java Netbeans IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Duplicate thread, locked.
 
I agree. Here's the link: http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic