aboutsummaryrefslogtreecommitdiff
path: root/semestr-5/so/lista1/rozwiazania
diff options
context:
space:
mode:
authorFranciszek Malinka <franciszek.malinka@gmail.com>2021-11-13 17:32:03 +0100
committerFranciszek Malinka <franciszek.malinka@gmail.com>2021-11-13 17:32:03 +0100
commitff0ac5bf2b3069200d2bb5a56bc3eef0b4bcb44a (patch)
tree6778fd6eb8fb48cff51564d4110ed3bd168a3b2e /semestr-5/so/lista1/rozwiazania
parentfa505e1e8d7f990d608144ccd97e9f960c6b8b57 (diff)
update
Diffstat (limited to 'semestr-5/so/lista1/rozwiazania')
-rw-r--r--semestr-5/so/lista1/rozwiazania/zad3.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/semestr-5/so/lista1/rozwiazania/zad3.c b/semestr-5/so/lista1/rozwiazania/zad3.c
new file mode 100644
index 0000000..c575be8
--- /dev/null
+++ b/semestr-5/so/lista1/rozwiazania/zad3.c
@@ -0,0 +1,10 @@
+#include<unistd.h>
+
+const char *t[2];
+
+int main() {
+ t[0] = "siemandero";
+ t[1] = NULL;
+
+ execvp("python", t);
+}