File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/core/src/codewhispererChat/tools Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -347,8 +347,8 @@ exec bash -c "
347347 if ( this . childProcess && this . childProcess . pid ) {
348348 try {
349349 // On Unix systems, negative PID kills the process group
350- this . logger . debug ( `Sending SIGTERM to process group -${ this . childProcess . pid } ` )
351350 const pid = - this . childProcess . pid
351+ this . logger . debug ( `Sending SIGTERM to process group ${ pid } ` )
352352 process . kill ( pid , 'SIGTERM' )
353353 } catch ( err ) {
354354 this . logger . debug ( `Failed to kill process group: ${ err } ` )
@@ -367,8 +367,8 @@ exec bash -c "
367367 // Try to kill the process group with SIGKILL
368368 if ( this . childProcess . pid ) {
369369 try {
370- this . logger . debug ( `Sending SIGKILL to process group -${ this . childProcess . pid } ` )
371370 const pid = - this . childProcess . pid
371+ this . logger . debug ( `Sending SIGKILL to process group ${ pid } ` )
372372 process . kill ( pid , 'SIGKILL' )
373373 } catch ( err ) {
374374 this . logger . debug ( `Failed to kill process group with SIGKILL: ${ err } ` )
You can’t perform that action at this time.
0 commit comments