Skip to content

Commit 0a3dc77

Browse files
committed
TaichiEvent compatibility on Windows
1 parent 820e394 commit 0a3dc77

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

modules/createEVENT/TaichiEvent/TaichiEvent.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def main(): # noqa: D103
291291

292292
result = subprocess.run( # noqa: S603
293293
[ # noqa: S607
294-
'ti',
294+
sys.executable,
295295
scriptName,
296296
# f'{os.path.realpath(os.path.dirname(__file__))}' # noqa: ISC003, PTH120
297297
# + '/taichi_script.py',
@@ -312,7 +312,7 @@ def main(): # noqa: D103
312312
filenameEVENT = arguments.filenameEVENT # noqa: N816
313313
result = subprocess.run( # noqa: S603
314314
[ # noqa: S607
315-
'ti',
315+
sys.executable,
316316
scriptName,
317317
# f'{os.path.realpath(os.path.dirname(__file__))}' # noqa: ISC003, PTH120
318318
# + '/taichi_script.py',

0 commit comments

Comments
 (0)