next.js/test/integration/api-support/pages/api/child-process.js
child-process.js7 lines148 B
import { execSync } from 'child_process'

export default (req, res) => {
  const output = execSync('echo hi').toString().trim()
  res.end(output)
}
Quest for Codev2.0.0
/
SIGN IN