There are two different issues: Starting another instance of darcs on the local
machine, and invoking darcs remotely via SSH.
Locally, we can use getProgName (as kirby pointed out, this would be helpful for
Cygwin). Is it always fine to invoke darcs via ARGV[0] ?
For remote invocations, Petr suggested to add a flag like --darcs-remote-
command, which should be filed as another bug.