Skip to content
Tcl Source Code Artifact [e35b345094]
Login

Artifact [e35b345094]

Artifact e35b345094f827b4ad684ef94216a1bb5e2abe40:

Ticket change [e35b345094] - New ticket [471374ffffffffff|471374ffff] <i>Child process doesn&#39;t detach with &amp;</i>. by chris_nelson on 2001-10-15 17:27:40.
D 2001-10-15T17:27:40
J assignee dkf
J cmimetype text/plain
J comment On\sat\sleats\sSoliaris\s(`uname\s-a`\sgives\s"SunOS\surchin\s5.8\sGeneric_108528-05\s\nsun4u\ssparc\sSUNW,UltraSPARC-IIi-Engine"),\sscripts\swhich\sstart\schildren\swith\s\n&\sto\sbackground\sand\sdetach\sthe\schild\sprocess\sseem\sto\shand\son\ssome\schannel\s\ni/o\swhen\sbackgrounded.\n\nA\ssample\sparent\sscript:\n\n\s\s\sset\swish\s[file\sjoin\s[file\sdirname\s[info\snameofexecutable]]\swish]\n\s\s\sset\sscript\sexecTestChild.tcl\n\s\s\sset\soptions\s[list\s>&\s/dev/null\s&]\n\s\s\seval\sexec\s[list\s$wish\s$script]\s$options\n\s\s\safter\s30000\n\nA\sstupid\schild\sscript:\n\n\s\s\stk_messageBox\s-message\s"I'm\sthe\schild"\n\s\s\sexit\n\nNow,\srun\sthe\sparent\swith:\n\n\s\s\stclsh\sexecTest.tcl\s&\n\nIn\s8.4a3,\swhen\sthe\safter\shas\sexpired\sand\sthe\sparent\swants\sto\sexit,\sit\shangs.\s\s`jobs`\sreports:\n\n\s\s\s[1]\s\s+\sSuspended\s(tty\soutput)\s\s...\n\nFurthermore,\sthe\schild\sfreezes.\s\sIf\sa\swindow\sis\sput\sover\sthe\smessage\sbox\sand\sremoved,\sthe\s\nmessage\sbox\sdoes\snot\sredraw.\s\sForegrounding\sthe\sparent\sand\sletting\sit\sterminate\slets\sthe\schild\s\nredraw.\s\s(Note\sthat\sthere\sis\sno\sactual\soutput\sfrom\sthe\sparent\swhen\sit\sit\sforegrounded.)\n\nThis\sbehavior\sis\snot\sseen\sin\s8.2.\s\sThat\sis,\sin\s8.2,\sthe\sparent\sexits\scleanly\swithout\sthe\stty\soutput\s\nsuspension\sand\sthe\schild\sappears\sto\sbe\sproperly\sdetached.\s\s\n
J foundin obsolete:\s8.4a3
J priority 5\sMedium
J resolution None
J status Open
J submitter chris_nelson
J subsystem 16.\sCommands\sA-H
J title Child\sprocess\sdoesn't\sdetach\swith\s&
J type Bug
K 471374ffffffffffffffffffffffffffffffffff
U chris_nelson
Z 553bbeeb8b59d892b9e5518ded608c13