Opened 7 years ago

Last modified 4 years ago

#1118 new defect

MAKE-WINDOWS-COMMAND-LINE doesn't escape spaces correctly

Reported by: fare Owned by: rme
Priority: normal Milestone:
Component: Runtime (threads, GC) Version: trunk
Keywords: Cc:


(CCL::MAKE-WINDOWS-COMMAND-LINE '("echo" "ok  1"))
"echo ok\" \"\" \"1"

This is erroneous. Those two doublequotes "" in the middle of the string are interpreted by the Windows argument parser as meaning an escaped double quote character.

Once again, a correct (AFAICT) implementation is available in asdf/uiop/run-program.lisp under the name escape-windows-command.

Change History (3)

comment:1 Changed 7 years ago by rme

  • Owner set to rme

comment:2 Changed 7 years ago by rme

See also ticket:858

comment:3 Changed 4 years ago by rme

  • Milestone Clozure CL 1.10 deleted

Milestone Clozure CL 1.10 deleted

Note: See TracTickets for help on using tickets.