bash automation stdout
This commit is contained in:
parent
596c953c24
commit
c2c5d70b89
|
@ -44,7 +44,7 @@ module.exports.run = async function ({ inputs, context }) {
|
||||||
|
|
||||||
let stdout
|
let stdout
|
||||||
try {
|
try {
|
||||||
stdout = execSync(command, { timeout: 500 })
|
stdout = execSync(command, { timeout: 500 }).toString()
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
stdout = err.message
|
stdout = err.message
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue