SyntaxFix
Write A Post
Hire A Developer
Questions
You can pass the parent´s stdio to the child process if that´s what you want:
require('child_process').execSync( 'rsync -avAXz --info=progress2 "/src" "/dest"', {stdio: 'inherit'} );