carb::launcher::fLaunchFlagScript
Defined in carb/launcher/ILauncher.h
-
constexpr LauncherFlags carb::launcher::fLaunchFlagScript = 0x00000040
Flag to indicate that the requested command should be launched as a script.
An attempt will be made to determine an appropriate command interpreter for it based on its file extension if no interpreter command is explicitly provided in LaunchDesc::interpreter. When this flag is not present, the named command will be assumed to be a binary executable.
Note
[Linux] This flag is not necessary when launching a script that contains a shebang on its first line. The shebang indicates the command interpreter to be used when executing the script. In this case, the script will also need to have its executable permission bit set for the current user. If the shebang is missing however, this flag will be needed.