From ff0ac5bf2b3069200d2bb5a56bc3eef0b4bcb44a Mon Sep 17 00:00:00 2001 From: Franciszek Malinka Date: Sat, 13 Nov 2021 17:32:03 +0100 Subject: update --- semestr-5/so/lista1/rozwiazania/zad3.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 semestr-5/so/lista1/rozwiazania/zad3.c (limited to 'semestr-5/so/lista1/rozwiazania') 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 + +const char *t[2]; + +int main() { + t[0] = "siemandero"; + t[1] = NULL; + + execvp("python", t); +} -- cgit v1.2.3