rsnext/test/integration/api-support/pages/api/child-process.js
Joe Haddad fd3256f47e
Fix Azure Pipelines (#10896)
Co-authored-by: JJ Kasper <jj@jjsweb.site>
2020-03-09 10:22:52 -04:00

8 lines
158 B
JavaScript

import { execSync } from 'child_process'
export default (req, res) => {
const output = execSync('echo hi')
.toString()
.trim()
res.end(output)
}