Re: command_line[1], path to the program file, and Linux
- Posted by Juergen Luethje <j.lue at gm?.de> Jan 07, 2008
- 649 views
Matt Lewis wrote: > Robert Craig wrote: > > > > Matt Lewis wrote: > > > Currently, euphoria just passes along whatever the operating system gives > > > it. In 3.2, it will do some extra work to give you the full path to the > > > interpreter. Juergen (I think? can't find the post now) posted some code > > > to do this in Euphoria. The key is using readlink(). > > > > Good idea. > > I remember wanting to provide the full path on Linux, > > but I wasn't sure how to do it. > > Yeah, it's been in there for a bit (check out be_runtime.c). Thinking back, > > it could have been an email from Juergen, rather than a forum post. I posted it on Sourceforge, as suggestion for the next Eu version. Regards, Juergen