Embedded Common Lisp asdf run-program not working

Embedded Common Lisp asdf run-program not working

Embedded Common Lisp + CYGWIN + WIN 10


ECL (Embeddable Common-Lisp) 21.2.1 (git:UNKNOWN)
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2013 Juan J. Garcia-Ripoll
Copyright (C) 2018 Daniel Kochmanski
Copyright (C) 2021 Daniel Kochmanski and Marius Gerbershagen
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.
Top level in: #<process TOP-LEVEL 0x8001b0f80>.
> (setf compiler::*delete-files* nil)

NIL
> (ext:install-c-compiler)

;;; Loading #P"/cygdrive/D/ons_1/ons_ecl-develop/ons_ecl-develop/lib/ecl-21.2.1/cmp.fas"
NIL
> (require "asdf")

;;; Loading #P"/cygdrive/D/ons_1/ons_ecl-develop/ons_ecl-develop/lib/ecl-21.2.1/asdf.fas"
("ASDF" "asdf" "UIOP" "uiop")
> (asdf:asdf-version)

"3.1.8.8"
> (shadowing-import 'asdf::run-program)

T
> (run-program "echo test" :output :string)

Condition of type: SUBPROCESS-ERROR
Subprocess with command "echo test"
 exited with error code 127

Available restarts:

1. (CONTINUE) IGNORE-ERROR-STATUS
2. (RESTART-TOPLEVEL) Go back to Top-Level REPL.

Broken at SI:BYTECODES. [Evaluation of: (RUN-PROGRAM "echo test" :OUTPUT :STRING)] In: #<process TOP-LEVEL 0x8001b0f80>.
>> (run-program "dir")

Debugger received error of type: SUBPROCESS-ERROR
Subprocess with command "dir"
 exited with error code 127
Error flushed.
>> (run-program "echo test" :output :string)

Debugger received error of type: SUBPROCESS-ERROR
Subprocess with command "echo test"
 exited with error code 127
Error flushed.
>>
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
Describe expected result and what provide the output you got.
Output should be "test"

`ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo

warm regards,
manu

Some additional notes.
Assignee Loading
Time tracking Loading