Overview
| Artifact ID: | 80bced38ceeb68c2fa14143d0e63dbe48662320d |
|---|---|
| Ticket: | 982547ffffffffffffffffffffffffffffffffff
exec doesn't return sometimes |
| User & Date: | p_samson on 2004-06-30 07:38:44 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
OS: Windows/Cygwin I have a script running regularly (every 5 mn), with this command: if {[catch {eval exec "bash --login file.tcl $dbname $table $dirlog"} errmsg]} { puts ... } else { puts ... } It can run perfectly for days, but sometimes, as this morning (05:20 AM, so no activity), the command freezes and doesn't return. No puts is executed. The bash process has done its work, I can see that its last instruction (a puts) is executed, and there is no more sh or pgtclsh process anymore. It seems as if exec didn't detect the end of execution of this argument and still waits. It may be a race condition, so I can not reproduce it at will, nor provide a test case, sorry. Anyway, I submit the bug report for the record, and in the hope it may ring a bell for the exec command maintainer. Some "me too" are welcome as well. - foundin changed to: "obsolete: 8.4.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "p_samson"
- subsystem changed to: "16. Commands A-H"
- title changed to: "exec doesn't return sometimes"
- type changed to: "Bug"