[racket] Full command line arguments
Am Mittwoch, 16. Januar 2013 schrieb Tony Garnock-Jones:
> On 01/15/2013 05:40 AM, Laurent wrote:
> > The purpose is to be able to relaunch the process.
>
> Another approach might be to create an outer wrapper which builds a
> nested namespace, custodian etc, within which your program is
> dynamic-required.
>
> That way, you can signal to the wrapper to destroy the running custodian
> and start afresh without having to exit or restart the unix process
> itself. A little like servlet reloading.
>
> This would work cross-platform and in both DrRacket and Racket, I imagine.
>
> Regards,
> Tony
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users
If you are on some unix-like OS you could use /proc/self/cmdline.
Nik