Pike could look at the file, see if it's a symlink to itself and... :-)
/ David Hedbor (I live in interesting times)
Previous text:
2002-09-06 01:06: Subject: -x
Hm. Interresting idea. But when would that be used? If you make a symlink "rsif" that points to pike, and invoke it as "rsif foo.pike bar.pike Makefile" then this will look like a pretty normal invocation to the master, so how would it know it was supposed to do Tools.Standalone[basename(argv[0])] in this case?
At any rate, it's simple to make a short script (or alias) instead of a symlink if you want. rsif now looks like this:
#! /bin/sh exec pike -x rsif "$@"
Granted, a symlink would be even easier to make. But I don't think it would provide enough information to the master. Am I wrong?
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)