File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ import FileSystem.Path as Path exposing (Path)
3636import Compiler.PackageName as PackageName exposing (PackageName)
3737import Compiler.Platform as Platform exposing (Platform)
3838import SemanticVersion exposing (SemanticVersion)
39- import ChildProcess
39+ import ChildProcess exposing (Shell(..))
4040import Json.Encode as Json
4141import Dict exposing (Dict)
4242import Task exposing (Task)
@@ -272,9 +272,6 @@ run permission options =
272272 |> commandEncoder options.interactiveSession options.pathToString
273273 |> Json.encode 0
274274
275- escapedCommand =
276- "'" ++ commandAsJson ++ "'"
277-
278275 colorEnvVar =
279276 if options.useColor then
280277 Dict.singleton "FORCE_COLOR" "1"
@@ -284,9 +281,10 @@ run permission options =
284281 ChildProcess.spawn
285282 permission
286283 (options.pathToString options.compilerPath)
287- [ escapedCommand ]
284+ [ commandAsJson ]
288285 { ( ChildProcess.defaultSpawnOptions options.onInit options.onComplete )
289- | environmentVariables =
286+ | shell = NoShell
287+ , environmentVariables =
290288 ChildProcess.MergeWithEnvironmentVariables colorEnvVar
291289 }
292290
You can’t perform that action at this time.
0 commit comments