1
0
Fork 0
mirror of https://github.com/perlbot/perlbuut synced 2025-06-07 19:26:05 -04:00
perlbuut/bin/testeval.sh

11 lines
253 B
Bash
Executable file

#!/bin/bash
read -r -d '' CODE <<'EOC'
javascript console.log("Hello World");
EOC
echo --------
echo $CODE
echo --------
echo $CODE | sudo strace -f -o killed.log timeout 30 /home/ryan/perl5/perlbrew/perls/perlbot-inuse/bin/perl5* ./bin/test_eval.pl