[racket] Call racket from racket on MacOSX, no response

From: Niitsuma Hirotaka (hirotaka.niitsuma at gmail.com)
Date: Tue Jul 26 22:26:25 EDT 2011

Resolved

$ which ls
/bin/ls

$ sudo ln -s /Applications/Racket-v5.1.1/bin/racket /bin/

Then drracket works

But in the case of
$ sudo ln -s /Applications/Racket-v5.1.1/bin/racket /usr/local/bin/

drracket does not works

2011/7/27 Robby Findler <robby at eecs.northwestern.edu>:
> 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
>>



Posted on the users mailing list.