const process = require('process'); const { spawnSync, execSync } = require('child_process'); execSync(`scp ./build/Penny.gb root@ywbud3:/storage/roms/gb/Penny.gb`); execSync(`echo "systemctl stop emustation.service; killall emulationstation; retroarch -L /lib/libretro/gambatte_libretro.so '/storage/roms/gb/Penny.gb';" | ssh root@ywbud3 /bin/bash`);