summaryrefslogtreecommitdiff
path: root/run
diff options
context:
space:
mode:
authormartin@ashbysoft.com <martin@ashbysoft.com>2022-06-11 20:02:48 +0000
committermartin@ashbysoft.com <martin@ashbysoft.com>2022-06-11 20:02:48 +0000
commitc813f7bd522baf1057ba9bee874669ea5b945a66 (patch)
treedfb3c1dc231ad779cd693d3890bd154839ea5121 /run
parent9688990db4ce2078a0027315ca80b5717fc5cacd (diff)
downloadlearn-c-c813f7bd522baf1057ba9bee874669ea5b945a66.tar.gz
learn-c-c813f7bd522baf1057ba9bee874669ea5b945a66.tar.bz2
learn-c-c813f7bd522baf1057ba9bee874669ea5b945a66.tar.xz
learn-c-c813f7bd522baf1057ba9bee874669ea5b945a66.zip
more intro exercises
Diffstat (limited to 'run')
-rwxr-xr-xrun7
1 files changed, 7 insertions, 0 deletions
diff --git a/run b/run
new file mode 100755
index 0000000..185f869
--- /dev/null
+++ b/run
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+set -e
+cc -o exe $@
+./exe
+result=$?
+rm exe
+exit $result \ No newline at end of file