Talk:Sleep (Unix)
From Wikipedia, the free encyclopedia
[edit] Article has incorrect title/content
Although the title of this article is Wait, the text refers to the sleep command. I recommend that this be changed to refer to the wait command. --BWDuncan 18:16, 22 February 2006 (UTC)
- Actually there is a wait command, and it looks like it options vary from OS to OS. On Solaris, the option is to wait for a pid to complete. I have updated the article based on the original post, from another OS apparently. --Unixguy 11:48, 21 April 2006 (UTC)
- Yes, but this article still refers to sleep. As far as I can tell, wait always pauses until some process exits, so I'm going to move this article to sleep and create a new article which reflects the actual wait command, unless you have any objections. --BWDuncan 12:24, 21 April 2006 (UTC)
Done, moved to Sleep (Unix command). wait doesn't seem to have any simple uses (other than those which can also be achieved by just running the job in the foreground), the example I gave hopefully gets the point across but perhaps also gets buried in the details of this particular application. --BWDuncan 23:25, 21 April 2006 (UTC)
- Good deal - it's better now. I added Sleep (Unix command) to the Sleep dab page --Unixguy 18:02, 23 April 2006 (UTC)
- Moved to sleep (Unix). ~ PseudoSudo 16:18, 7 May 2006 (UTC)
I created a related article, Sleep (operating system), to distinguish the operating system call from the Unix command. — Loadmaster 22:52, 5 March 2007 (UTC)