[gambit-list] open-process in MinGW (beta14)

feeley at iro.umontreal.ca feeley at iro.umontreal.ca
Sat Jul 23 02:40:18 EDT 2005


> Hi,
>
> Was anybody able to use the (open-process) command in Gambit4beta14 on
> the MinGW platform?
>
> Here is an example:
>
>
>
> ----------------
>
> (define p (open-process (list
>                               path: "C:/msys/1.0/bin/ls.exe"
>                               arguments: (list "/")
>                               stderr-redirection: #t
>                               pseudo-terminal: #t
>                               )))
>
> *** ERROR IN (stdin)@1.11 -- Can't convert result from C nonnull-pointer
> (open-process
>   '(path: "C:/msys/1.0/bin/ls.exe" arguments: ("/") stderr-redirection:
> #t p...)
>
> ---------------

Sorry, but process ports are not fully implemented yet under the Win32
API.  Perhaps they will work if you compile with Cygwin (I have not
tried).

Marc




More information about the Gambit-list mailing list