Use child_process.exec instead of child_process.spawn