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...)
---------------
It works well on MacOSX. I need a multiplatform way of calling a process with IO ports access. open-process should be the way but it seems to be broken in that version.
Thank you, Francois Magnan
Afficher les réponses par date
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