diff options
| author | navewindre <boneyaard@gmail.com> | 2024-10-12 12:55:12 +0200 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2024-10-12 12:55:12 +0200 |
| commit | 3c6c468c7b9a482bc7df34a36c1c4c0ce188fb93 (patch) | |
| tree | eb19fd3ebe65bfa3da6f5cb3175304905d32fed5 /tabby-runner/index.js | |
| parent | 5488c375f8e545158029e32085cb5f62dfe48819 (diff) | |
pshh
Diffstat (limited to 'tabby-runner/index.js')
| -rwxr-xr-x | tabby-runner/index.js | 5 |
1 files changed, 3 insertions, 2 deletions
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 ); } |
