Steel Bank Common Lisp

run-program on Windows doesn't escape arguments properly

Reported by Faré on 2013-10-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Undecided
Unassigned

Bug Description

run-program on Windows doesn't escape its arguments properly.
The labels escape-arg is particularly disturbing.
It outputs an extra space in the end, too, which is buggy when calling cmd or other legacy programs.

A recent CCL does it right.
asdf/uiop/run-program.lisp also has proper escaping routines.

Tried various things that failed on Windows with SBCL 1.1.12, and looking at the sources for sbcl 1.1.12.14.

Stas Boukarev (stassats) wrote :

I have improved escaping in run-program, but since this bug report doesn't contain any test cases, I can't tell whether it's actually fixed or not.

Changed in sbcl:
status: New → Fix Committed
Orivej Desh (orivej) wrote :

Please fix the typo run-proRgram in NEWS.

Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers