Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » How to escape whitespace in Run Configuration arguments
How to escape whitespace in Run Configuration arguments [message #918086] Thu, 20 September 2012 14:25 Go to next message
Eclipse UserFriend
My question is a pretty simple one, but one that I failed to find an answer with on Google.

If i'm passing my main method arguments via the run configurations window, I would list them as: a b c

separated by white space. What if one of the arguments is "brown dog" or any string that contains a space. How do I escape that so that "brown dog" passes as one argument?
Re: How to escape whitespace in Run Configuration arguments [message #918966 is a reply to message #918086] Fri, 21 September 2012 10:38 Go to previous message
Eclipse UserFriend
On 09/20/2012 01:25 PM, Kent Wu wrote:
> My question is a pretty simple one, but one that I failed to find an
> answer with on Google.
> If i'm passing my main method arguments via the run configurations
> window, I would list them as: a b c
>
> separated by white space. What if one of the arguments is "brown dog" or
> any string that contains a space. How do I escape that so that "brown
> dog" passes as one argument?
The same way you just did in your post. You put quotes around it.
Previous Topic:How to install ADT Plugin
Next Topic:1.4.2 JDK on Mac?
Goto Forum:
  


Current Time: Thu Jul 03 13:49:18 EDT 2025

Powered by FUDForum. Page generated in 0.03148 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top