Skip to content
This repository was archived by the owner on Dec 1, 2022. It is now read-only.

Commit 15a489e

Browse files
authored
Merge pull request #7 from stashfiler/dev
Security fix
2 parents 144e82d + 6c1111f commit 15a489e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

docker-compose-wsl.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,7 @@ def wsl_drive_map(string_to_map):
8080
)
8181
]
8282

83-
# Run the docker-compose binary in bash on WSL with the appropriate argument(s)
84-
docker_compose_process = subprocess.Popen(docker_compose_cmd, shell=True)
85-
8683
try:
87-
docker_compose_process.wait()
84+
subprocess.run(docker_compose_cmd)
8885
except KeyboardInterrupt:
89-
docker_compose_process.terminate()
86+
pass

0 commit comments

Comments
 (0)