I would use `system*` or `process*` with `(find-exe)` [1] as the first argument.
You might also like `find-console-bin-dir` [2]. [1] http://docs.racket-lang.org/raco/exe.html#%28def._%28%28lib._compiler%2Ffind-exe..rkt%29._find-exe%29%29 [2] http://docs.racket-lang.org/raco/dirs.html#%28def._%28%28lib._setup%2Fdirs..rkt%29._find-console-bin-dir%29%29 On Sun, Aug 21, 2016 at 6:00 AM, Pekka Niiranen <pekka.niira...@pp5.inet.fi> wrote: > Hello users, > > I am trying to eradicate *.bat files running Racket scripts. > > What is the idiom to make Racket script to start itself recursively > (system, process, subprocess) when main script is started from shell > and all outputs are printed to console? > > "racket mscript.rkt args" => (system *.bat) => "racket *.rkt args" > > -pekka- > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.