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

This commit is contained in:
李通洲 committed 2023-08-01 10:23:36 +08:00
1 parent a986edbffb
commit 5562bc6264
4 files changed
+6 -7

No files matched your search

+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
);