2011年7月6日 星期三

Use fork() and exec() to make a process in Linux C

Use fork() and exec() to make a process in Linux C.

Example -
Result:
** Execuing program: ls -l /bin/gzip **
-rwxr-xr-x 1 root root 63080 2008-12-20 02:23 /bin/gzip
child return exit code: 0

0 意見: