ThongCoder commited on
Commit
7954958
·
verified ·
1 Parent(s): 01152d5

Update entrypoint.py

Browse files
Files changed (1) hide show
  1. entrypoint.py +3 -2
entrypoint.py CHANGED
@@ -37,5 +37,6 @@ cmd = [
37
  "/workspace"
38
  ]
39
 
40
- process = subprocess.Popen(cmd, env=env)
41
- process.wait()
 
 
37
  "/workspace"
38
  ]
39
 
40
+ def start_code():
41
+ subprocess.run(cmd, env=env)
42
+ threading.Thread(target=start_code, daemon=True).start()