Basic skeleton for the latest TD1 exercice
[TD_IML.git] / TD1 / part_three / lanceur.c
CommitLineData
ed423898
JB
1#include <sys/types.h>
2#include <sys/wait.h>
3
4#include <stdio.h>
5#include <stdlib.h>
6#include <string.h>
7#include <unistd.h>
8
9int main() {
10
11 printf("[%d] Je suis le lanceur\n", getpid());
12 printf("[%d] Je lance la balle\n", getpid());
13
14 execl("/Users/fraggle/src/TD_IML-git/TD1/part_three/balle/balle", "balle");
15
16 return EXIT_SUCCESS;
17}