[racket] Call racket from racket on MacOSX, no response
Oh! Under Mac os x if you start drracket by double clicking (instead of a
terminal window) your path is not set. Maybe that explains it?
Robby
On Tuesday, July 26, 2011, Gregory Woodhouse <gregwoodhouse at me.com> wrote:
> Could this be a path issue? There's no need to find the racket executable
in the case of ls.
>
> Sent from my iPad
>
> On Jul 26, 2011, at 9:54 AM, Niitsuma Hirotaka <
hirotaka.niitsuma at gmail.com> wrote:
>
>> The following code works on linux.
>> But on MacOSX, no response
>> ------
>> #lang racket
>> (require racket/system)
>> (display (port->string (car (process "racket -e '(+ 10 3)'"))))
>> ------
>>
>>
>> However this works on MacOSX
>> ------
>> #lang racket
>> (require racket/system)
>> (display (port->string (car (process "ls'"))))
>> ------
>> _________________________________________________
>> For list-related administrative tasks:
>> http://lists.racket-lang.org/listinfo/users
> _________________________________________________
> For list-related administrative tasks:
> http://lists.racket-lang.org/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110726/4b54a012/attachment.html>