Is it possible to detect inside a script if it was started from the command
I already checked all sorts of system variables, functions etc. but could not figure out how this could be achived.
Background: I want to execute the
global
rather than directly from the command line?I already checked all sorts of system variables, functions etc. but could not figure out how this could be achived.
Background: I want to execute the
pause
command, if script is started from global
, thus iterating over some directories. I do not want to pause if started from the command line without global
.