True when proc was invoked as command, compared by BASENAME: herdr reports either a bare
name (node) or an absolute path depending on platform and field, while the caller passes an
absolute interpreter path (process.execPath). A literal comparison matches neither reliably.
True when
procwas invoked ascommand, compared by BASENAME: herdr reports either a bare name (node) or an absolute path depending on platform and field, while the caller passes an absolute interpreter path (process.execPath). A literal comparison matches neither reliably.