Hi Georg,

I pushed a fix to provide you the executable name.

Basically the ``(command-line)`` word in the command-line vocabulary is the
"raw" command-line, which includes all command-line arguments including the
executable.  The ``command-line`` symbol is where we keep the other
arguments to the script.

If you need the executable name, you can just call ``(command-line) first``
for right now.

(Assuming you update to master)

Best,
John.

On Mon, Dec 22, 2014 at 9:32 AM, John Benediktsson <mrj...@gmail.com> wrote:
>
> We try and make it consistent between deployed and non-deployed
> applications. It looks like we are not storing the executable name right
> now (argv[0]).
>
> Probably we should fix that I guess!
>
> If we fix it in master are you comfortable running a nightly build? (They
> are well tested before the build successfully uploads)
>
>
> > On Dec 22, 2014, at 9:24 AM, Georg Simon <georg.si...@auge.de> wrote:
> >
> > Am Mon, 22 Dec 2014 06:51:22 -0800
> > schrieb John Benediktsson <mrj...@gmail.com>:
> >
> >> Hi Georg,
> >>
> >> I don't see a difference between deploy and when a script/vocabulary
> >> is run directly.
> >>
> >> Is your question about deploy, or how to obtain the
> >> command/executable name?
> >>
> >> Thanks,
> >> John.
> >
> > Hi John,
> >
> > yes I wanted to obtain the executable name in a deployed application.
> >
> > But my main point is that for me the documentation is misleading.
> >
> > The documentation made me think that I could find the executable name
> > in the variable command-line.
> >
> > Georg
> >
> ------------------------------------------------------------------------------
> > Dive into the World of Parallel Programming! The Go Parallel Website,
> > sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> > hub for all things parallel software development, from weekly thought
> > leadership blogs to news, videos, case studies, tutorials and more. Take
> a
> > look and join the conversation now. http://goparallel.sourceforge.net
> > _______________________________________________
> > Factor-talk mailing list
> > Factor-talk@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/factor-talk
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to