Command (Linux): use /bin/sh as the default shell

This commit is contained in:
李通洲
2023-08-01 10:23:36 +08:00
parent a986edbffb
commit 5562bc6264
4 changed files with 6 additions and 7 deletions
+3 -5
View File
@@ -39,13 +39,11 @@ void ffInitCommandOptions(FFCommandOptions* options)
options->moduleName = FF_COMMAND_MODULE_NAME;
ffOptionInitModuleArg(&options->moduleArgs);
ffStrbufInitS(&options->shell,
ffStrbufInitStatic(&options->shell,
#ifdef _WIN32
"cmd"
#elif defined(__FreeBSD__)
"csh"
"cmd.exe"
#else
"bash"
"/bin/sh"
#endif
);