diff --git a/player.js b/player.js index 145f902..89d7d3e 100644 --- a/player.js +++ b/player.js @@ -1,7 +1,7 @@ const glob = require('glob'); const spawn = require('child_process').spawn; const tag_reader = spawn('/home/annika/rfid/run-tag-reader'); -const player = spawn('/usr/bin/sudo', ['-n', '/usr/bin/mpg321', '-R', '-']); +const player = spawn('/usr/bin/mpg321', ['-R', '-']); tag_reader.on('error', function(err) { console.log(`[tag_reader:error] ${err}`);