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?<br><br>Robby<br><br>On Tuesday, July 26, 2011, Gregory Woodhouse <<a href="mailto:gregwoodhouse@me.com">gregwoodhouse@me.com</a>> wrote:<br>
> Could this be a path issue? There's no need to find the racket executable in the case of ls.<br>><br>> Sent from my iPad<br>><br>> On Jul 26, 2011, at 9:54 AM, Niitsuma Hirotaka <<a href="mailto:hirotaka.niitsuma@gmail.com">hirotaka.niitsuma@gmail.com</a>> wrote:<br>
><br>>> The following code works on linux.<br>>> But on MacOSX, no response<br>>> ------<br>>> #lang racket<br>>> (require racket/system)<br>>> (display (port->string (car (process "racket -e '(+ 10 3)'"))))<br>
>> ------<br>>><br>>><br>>> However this works on MacOSX<br>>> ------<br>>> #lang racket<br>>> (require racket/system)<br>>> (display (port->string (car (process "ls'"))))<br>
>> ------<br>>> _________________________________________________<br>>> For list-related administrative tasks:<br>>> <a href="http://lists.racket-lang.org/listinfo/users">http://lists.racket-lang.org/listinfo/users</a><br>
> _________________________________________________<br>> For list-related administrative tasks:<br>> <a href="http://lists.racket-lang.org/listinfo/users">http://lists.racket-lang.org/listinfo/users</a><br>>