mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-06 02:35:19 +08:00
Fixed: Fix AppShell failsafe env
This commit is contained in:
@@ -74,7 +74,7 @@ public final class AppShell {
|
|||||||
if (executionCommand.workingDirectory.isEmpty())
|
if (executionCommand.workingDirectory.isEmpty())
|
||||||
executionCommand.workingDirectory = "/";
|
executionCommand.workingDirectory = "/";
|
||||||
|
|
||||||
String[] env = shellEnvironmentClient.buildEnvironment(context, false, executionCommand.workingDirectory);
|
String[] env = shellEnvironmentClient.buildEnvironment(context, executionCommand.isFailsafe, executionCommand.workingDirectory);
|
||||||
|
|
||||||
final String[] commandArray = shellEnvironmentClient.setupProcessArgs(executionCommand.executable, executionCommand.arguments);
|
final String[] commandArray = shellEnvironmentClient.setupProcessArgs(executionCommand.executable, executionCommand.arguments);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user