[gambit-list] open-process in MinGW (beta14)
Francois Magnan
magnan at licef.teluq.uquebec.ca
Thu Jul 21 17:09:35 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...)
---------------
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 860 bytes
Desc: not available
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20050721/b6628481/attachment.bin>
More information about the Gambit-list
mailing list