BIRT 3.7
Written by: Michael Williams
Featured Refcardz: Top Refcardz:
  1. Scrum
  2. Apache Maven 2
  3. Essential MySQL
  4. Node.js
  5. Groovy
  1. jQuery Selectors
  2. Ajax
  3. Java
  4. Spring Config.
  5. Java Concurrency

Link Details

Link 378045 thumbnail
User 724419 avatar

By kcartmell
via kylecartmell.com
Published: Mar 12 2010 / 08:53

The simplest way to call an external executable or shell script from Java is the creation of a Process via Runtime.exec or ProcessBuilder. Unfortunately there are several common traps that can cause code that works as expected for a single invocation of a small executable to do terrible things when repeatedly calling several complex external applications. In this article you will find explanations of five of the most common concerns along with strategies for handling such issues safely and effectively.
  • 10
  • 0
  • 2354
  • 0

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (10)



Voters Against This Link (0)