Run shell script with node.js (childProcess)

The exec function callback has error, stdout and stderr arguments passed to it. See if they can help you diagnose the problem by spitting them out to the console: exec(‘~/./play.sh /media/external/’ + req.params.movie, function (error, stdout, stderr) { console.log(‘stdout: ‘ + stdout); console.log(‘stderr: ‘ + stderr); if (error !== null) { console.log(‘exec error: ‘ + … Read more

.Net Core on Raspberry Pi 4 with Raspbian?

Download .Net Core 3.1 SDK from HERE Make Directory: sudo mkdir /usr/share/dotnet/ PATH to environment: export PATH=$PATH:/usr/share/dotnet/dotnet export DOTNET_ROOT=/usr/share/dotnet/dotnet or just a symlink sudo ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet Copy by Extracting: sudo tar zxf dotnet-sdk-3.1.100-linux-arm.tar.gz -C /usr/share/dotnet/ Confirm Installation: dotnet –info you can find in detail from Here