view bin/runc @ 2272:7a61285e9493

<oerjan> (echo \'#!/bin/sh\'; echo "ps -o cmd") >bin/psocmd; chmod +x bin/psocmd
author HackBot
date Tue, 26 Feb 2013 23:24:34 +0000
parents ee2e8950bb3c
children 81b2b9bd8d25
line wrap: on
line source

#!/bin/bash
t=`tempfile`
echo -e "$@" | gcc -o $t -x c - 2>/dev/null && $t
rm $t