Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoogleCloudPlatform/nodejs-docs-samples
/ execSync
Function
execSync
translate/test/translate.test.js:21–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
19
const
cp = require(
'child_process'
);
20
21
const
execSync = cmd => cp.execSync(cmd, {encoding:
'utf-8'
}).trim();
22
const
cmd =
'node translate.js'
;
23
const
text =
'Hello world!'
;
24
const
text2 =
'Goodbye!'
;
Callers
1
translate.test.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected