diff options
-rw-r--r-- | shell/ash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index 3c57c4577..e74662d8d 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -11662,9 +11662,10 @@ evalcommand(union node *cmd, int flags) | |||
11662 | 11662 | ||
11663 | default: { | 11663 | default: { |
11664 | 11664 | ||
11665 | //TODO: find a better solution for Windows on ARM than ignoring NOFORK | ||
11665 | #if ENABLE_FEATURE_SH_STANDALONE \ | 11666 | #if ENABLE_FEATURE_SH_STANDALONE \ |
11666 | && ENABLE_FEATURE_SH_NOFORK \ | 11667 | && ENABLE_FEATURE_SH_NOFORK \ |
11667 | && NUM_APPLETS > 1 | 11668 | && NUM_APPLETS > 1 && !(defined(_ARM64_) && ENABLE_PLATFORM_MINGW32) |
11668 | /* (1) BUG: if variables are set, we need to fork, or save/restore them | 11669 | /* (1) BUG: if variables are set, we need to fork, or save/restore them |
11669 | * around run_nofork_applet() call. | 11670 | * around run_nofork_applet() call. |
11670 | * (2) Should this check also be done in forkshell()? | 11671 | * (2) Should this check also be done in forkshell()? |