[plt-scheme] system and system/exit-code under Mac OS X
Eli Barzilay wrote:
>> The function "system" in (lib "process.ss") is defined as:
>>
>> (define (system str)
>> (if (eq? (system-type) 'macos)
>> (subprocess #f #f #f "by-id" str)
>> (apply system* (shell-path/args "system" str))))
>>
>> And the documentation for subprocess says that it
>> executes the command asynchronously, which seems fishy,
>> but maybe the "by-id" initiates some magic?
>
> That line is old code, which is not relevant to you -- your
> system-type should be `macosx', not `macos'. (So the problem is
> there, but I don't know where it's coming from.)
You are right of course, system-type reports 'macosx .
I missed the x. Something else then. Hmm.
/Jens Axel