Code written in C language using Linux system functions (execl and sigaction structure).
A program that creates new processes that wait for the signal to end (SIGINT). Each new procces create his own procces group and if is possible divide argv[1] value and create two procces by execl. The SIGINT signal starts propagation from the main process.
enter 'abcd' as a argument
compile source file using gcc by console:
>> gcc main.c
run program and enter a custom string as a program argument (default program name is "a.out"):
>> ./a.out abcd
- fork
- execl
- kill
- stop
- wait
- getpid