We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5629347 commit 95c5f66Copy full SHA for 95c5f66
jupyterlab_wakatime/handlers.py
@@ -42,8 +42,11 @@ async def post(self):
42
return self.finish()
43
self.log.info("wakatime-cli " + shlex.join(cmd_args))
44
45
+ # Async subprocess is required for non-blocking access to return code
46
+ # However, it's not supported on Windows
47
+ # As a workaround, create a Popen instance and leave it alone
48
if platform.system() == "Windows":
- subprocess.call([WAKATIME_CLI, *cmd_args])
49
+ subprocess.Popen([WAKATIME_CLI, *cmd_args])
50
51
52
proc = await asyncio.create_subprocess_exec(
0 commit comments