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.
Andreas Kupries
24. Channel Commands
obsolete: 8.4.1
Public
|
Date: 2005-10-20 02:20 Logged In: YES |
|
Date: 2004-07-21 12:02 Logged In: YES |
|
Date: 2004-07-19 18:38 Logged In: YES |
|
Date: 2004-07-19 15:35 Logged In: NO |
|
Date: 2004-07-19 09:34 Logged In: NO |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Pending | 2005-10-20 02:20 | sf-robot |
| close_date | 2005-10-05 23:17 | 2005-10-20 02:20 | sf-robot |
| status_id | Open | 2005-10-05 23:17 | andreas_kupries |
| close_date | 2004-07-19 18:38 | 2005-10-05 23:17 | andreas_kupries |
| status_id | Pending | 2004-07-21 12:02 | p_samson |
| close_date | - | 2004-07-19 18:38 | hobbs |
| status_id | Open | 2004-07-19 18:38 | hobbs |
| resolution_id | None | 2004-07-19 18:38 | hobbs |
| category_id | 16. Commands A-H | 2004-06-30 09:32 | dkf |
| assigned_to | dkf | 2004-06-30 09:32 | dkf |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use