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 <[email protected]> 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 < [email protected]> 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 >
_________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

