File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
packages/jumpstarter-driver-shell/jumpstarter_driver_shell Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,10 @@ async def _run_inline_shell_script(
138138 cmd = self .shell + [script , method ] + list (args )
139139
140140 # Start the process with pipes for streaming and new process group
141+ self .logger .debug (
142+ f"running { method } with cmd: { cmd } and env: { combined_env } "
143+ f"and args: { args } in cwd: { self .cwd } "
144+ )
141145 process = await asyncio .create_subprocess_exec (
142146 * cmd ,
143147 stdout = asyncio .subprocess .PIPE ,
@@ -152,7 +156,6 @@ async def _run_inline_shell_script(
152156
153157 # Read output in real-time
154158 while process .returncode is None :
155- self .logger .debug (f"running { method } with cmd: { cmd } and env: { combined_env } and args: { args } " )
156159 if asyncio .get_event_loop ().time () - start_time > self .timeout :
157160 # Send SIGTERM to entire process group for graceful termination
158161 try :
You can’t perform that action at this time.
0 commit comments