diff options
author | Franciszek Malinka <franciszek.malinka@gmail.com> | 2021-11-13 17:32:03 +0100 |
---|---|---|
committer | Franciszek Malinka <franciszek.malinka@gmail.com> | 2021-11-13 17:32:03 +0100 |
commit | ff0ac5bf2b3069200d2bb5a56bc3eef0b4bcb44a (patch) | |
tree | 6778fd6eb8fb48cff51564d4110ed3bd168a3b2e /semestr-5/so/lista1/rozwiazania | |
parent | fa505e1e8d7f990d608144ccd97e9f960c6b8b57 (diff) |
update
Diffstat (limited to 'semestr-5/so/lista1/rozwiazania')
-rw-r--r-- | semestr-5/so/lista1/rozwiazania/zad3.c | 10 |
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); +} |