summaryrefslogtreecommitdiffstats
path: root/methods.py
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-03-11 13:05:37 -0500
committerThaddeus Crews <repiteo@outlook.com>2024-03-11 13:20:09 -0500
commit5a6e3cbcb03c3f756344a38259f3774ddaf1a63d (patch)
treea435d3f986a1ca0e179d311ac4a5a11e2a67ea02 /methods.py
parentf040a351c2f27c6b86c40c71a28babf99dd0b9bd (diff)
downloadredot-engine-5a6e3cbcb03c3f756344a38259f3774ddaf1a63d.tar.gz
SCons: Remove `run_in_subprocess` dependency
Diffstat (limited to 'methods.py')
-rw-r--r--methods.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/methods.py b/methods.py
index 948574e18a..5aa34888eb 100644
--- a/methods.py
+++ b/methods.py
@@ -826,14 +826,10 @@ def CommandNoCache(env, target, sources, command, **args):
return result
-def Run(env, function, subprocess=True):
+def Run(env, function):
from SCons.Script import Action
- from platform_methods import run_in_subprocess
- if not subprocess:
- return Action(function, "$GENCOMSTR")
- else:
- return Action(run_in_subprocess(function), "$GENCOMSTR")
+ return Action(function, "$GENCOMSTR")
def detect_darwin_sdk_path(platform, env):