From 3c6c468c7b9a482bc7df34a36c1c4c0ce188fb93 Mon Sep 17 00:00:00 2001 From: navewindre Date: Sat, 12 Oct 2024 12:55:12 +0200 Subject: pshh --- tabby-runner/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tabby-runner/index.js') diff --git a/tabby-runner/index.js b/tabby-runner/index.js index 93eb768..680b677 100755 --- a/tabby-runner/index.js +++ b/tabby-runner/index.js @@ -5,7 +5,6 @@ let child; let killTabby = () => { exec( "ps aux | grep -E 'tabby'", ( error, stdout, stderr ) => { if( stdout ) { - console.log( stdout ); let lines = stdout.split( '\n' ); for( let line of lines ) { let parts = line.split( /\s+/ ); @@ -35,7 +34,9 @@ let loop = () => { } if( vimOpen ) { if( child ) return setTimeout( loop, 120000 ); - child = cp.exec( `./run-client.sh` ); + child = cp.exec( `./run-client.sh`, ( error, stdout, stderr ) => { + console.log( stdout ); + } ); return setTimeout( loop, 5000 ); } -- cgit v1.2.3