Who has tried run-process in STk-2.1.4 ?

From: M.Vodslon <vodslon_at_fokus.gmd.de>
Date: Thu, 10 Nov 1994 21:39:35 +0100

Hi,

I have just tried the new process feature in STk-2.1.4 and got the following:

STk> (define myprocess (run-process "cat" :output #t :input #t :error #t :wait #f))
#[undefined]
STk> (process-alive? myprocess)
#t
STk> (process-pid myprocess)
6398
STk> (process-input myprocess)
#f
STk> (process-output myprocess)
#f
STk> (process-error myprocess)
#f
STk>

With STk-2.1.3 I used to have:

STk> (define myprocess (run-process "cat" '() '(#t #t #t)))
#[undefined]
STk> (process-alive? myprocess)
#t
STk> (process-pid myprocess)
6427
STk> (process-input myprocess)
#[output-port '*stdin-6427*']
STk> (process-output myprocess)
#[input-port '*stdout-6427*']
STk> (process-error myprocess)
#[input-port '*stderr-6427*']
STk> (begin (write "Hello" (process-input myprocess)) (flush (process-input myprocess)))
#[undefined]
STk> (read (process-output myprocess))
"Hello"
STk>

Do I misunderstand the new run-process primitive or is there a problem?

Thanks,

Miroslav Vodslon

Gesellschaft fuer Mathematik und Datenverarbeitung, Forschungsinstitut
fuer offene Kommunikationssysteme.
Mail: GMD-FOKUS, Hardenbergplatz 2,D-10623 Berlin
Voice: 49-30-25499185. Fax: 49-30-25499202. E-mail: vodslon_at_fokus.gmd.de
Received on Thu Nov 10 1994 - 21:50:59 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST