Bug 238398 - Spawner(String command, boolean bNoRedirect) doesn't tokenize the argument list properly
Summary: Spawner(String command, boolean bNoRedirect) doesn't tokenize the argument li...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 4.0.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-25 08:10 EDT by Serge Beauchamp CLA
Modified: 2020-09-04 15:20 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Serge Beauchamp CLA 2008-06-25 08:10:12 EDT
Build ID: I20080610-1648

Steps To Reproduce:
1. Create a new Spawner with a path with a quoted argument with while space. 
2.  The Spawner will fail to execute the argument

For example:

Spawner spawner = new Spawner("foo \"one argument\"", false);

will cause the following command array to be generated:

foo
"one 
argument"

Instead of the following command array:

foo
"one argument"


More information: