exit沒有執行? - Linux

By Emma
at 2015-10-31T16:25
at 2015-10-31T16:25
Table of Contents
※ [本文轉錄自 Programming 看板 #1MD6VSJH ]
作者: florenceL (佛羅倫斯) 看板: Programming
標題: [問題] exit沒有執行?
時間: Sat Oct 31 15:03:52 2015
各位版友好
想請問一下
我在server程式中fork出一個child執行execlp("/bin/exit","exit");
但是跑起來server沒有被關掉
但是我自己在server的shell手打上exit卻會關掉server端,
想請問是甚麼原因?
以及 execlp是哪裡寫錯了?
--
作者: florenceL (佛羅倫斯) 看板: Programming
標題: [問題] exit沒有執行?
時間: Sat Oct 31 15:03:52 2015
各位版友好
想請問一下
我在server程式中fork出一個child執行execlp("/bin/exit","exit");
但是跑起來server沒有被關掉
但是我自己在server的shell手打上exit卻會關掉server端,
想請問是甚麼原因?
以及 execlp是哪裡寫錯了?
--
Tags:
Linux
All Comments

By Eartha
at 2015-11-02T11:35
at 2015-11-02T11:35

By Agatha
at 2015-11-07T11:26
at 2015-11-07T11:26

By Susan
at 2015-11-08T10:51
at 2015-11-08T10:51

By Madame
at 2015-11-11T20:05
at 2015-11-11T20:05
Related Posts
解決無法收看加密的 DVD 問題

By Susan
at 2015-10-31T11:58
at 2015-10-31T11:58
[已解決] 寫給 busybox 使用的 shell script

By Ethan
at 2015-10-31T11:46
at 2015-10-31T11:46
Twitch install Arch Linux

By Barb Cronin
at 2015-10-31T00:45
at 2015-10-31T00:45
Ubuntu開機遇到initramfs

By John
at 2015-10-30T11:52
at 2015-10-30T11:52
VMware不能裝centos

By Enid
at 2015-10-29T00:16
at 2015-10-29T00:16