Wiki

Ticket #147 (closed defect: fixed)

Opened 15 years ago

Last modified 15 years ago

string parameters with spaces in command line

Reported by: agustech Owned by: Chuck
Priority: medium Milestone: Cobra 0.9
Component: Cobra Compiler Version: 0.8.0
Keywords: Cc:

Description

string parameters with spaces in command line in compile-run do not work correctly while they work correctly on compiled program. i.e.:

cobra -ert:yes prog.cobra -- "path with spaces"
# gives 4 parameters: prog path with spaces
#while
prog.exe "path with spaces"
# gives 2 parameters: prog "path with spaces"

Attachments

embed-spaces-cmdline.patch Download (2.5 KB) - added by hopscc 15 years ago.

Change History

Changed 15 years ago by Chuck

Nice catch. Definitely not correct behavior.

Changed 15 years ago by Chuck

  • milestone set to Cobra 0.9

Changed 15 years ago by hopscc

Changed 15 years ago by hopscc

  • owner set to Chuck
  • status changed from new to assigned

patch + test case + relnotes.
Theres probably still possible outages around spaces and embedded single and double quoting but the patch should correct the reported situation at least.

Changed 15 years ago by Chuck

  • status changed from assigned to closed
  • resolution set to fixed

Fixed.

Note: See TracTickets for help on using tickets.