From da4a8b3030406f5ba8c82093f2385060cd0d48b8 Mon Sep 17 00:00:00 2001 From: Jan Klattenhoff Date: Wed, 9 Apr 2025 18:08:58 +0200 Subject: [PATCH] feat(invoke-binary): add ls command execution in runGo function --- invoke-binary.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/invoke-binary.js b/invoke-binary.js index 69baa60..7551604 100644 --- a/invoke-binary.js +++ b/invoke-binary.js @@ -2,6 +2,15 @@ const childProcess = require('child_process') const path = require('path') function runGo() { + childProcess.spawnSync( + 'ls', + ["-la"], + { + cwd: __dirname, + stdio: 'inherit', + shell: true, + }, + ) const goProcess = childProcess.spawnSync( 'go', ['run', '.'],