This post originated from an RSS feed registered with Java Buzz
by Erik C. Thauvin.
Original Post: Runtime.getRuntime().exec()
Feed Title: Erik's Weblog
Feed URL: http://erik.thauvin.net/blog/feed.jsp?cat=Java
Feed Description: The Truth is Out There!
Using Runtime.getRuntime().exec() to launch an application is pretty straight forward, except when you're trying to start an application whose name contains one or more spaces.
Under Windows, you need to quote the application name: