feat: initial implementation #5
1 changed files with 9 additions and 0 deletions
|
@ -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', '.'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue