import child_process spawn code example Example: import exec ts import { exec } from 'child_process';