You must log in or # to comment.
…this is so much more cursed than it needs to be. If you want to bash in C just
system("echo hello world");That wouldn’t necessarily be bash though
Fine,
system("bash -c 'echo hello world'");then!Now print “¯\_(ツ)_/¯” with the quotes
I decided to throw my PC in the composter and become a gardener
my best guess:
system("bash -c 'echo \\\"¯\\\\_(ツ)_/¯\\\"'");which will get parsed as:
bash -c 'echo \"¯\\_(ツ)_/¯\"'which will run:
echo "¯\_(ツ)_/¯"and since
echojust prints whatever was given to it, it’ll print"¯\_(ツ)_/¯"with the quotes
Tsk tsk… forgot to clean up your temp file!





