Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7114c167ca405b5964407d7dd65b1af1c4990507
Ticket: 2982713fffffffffffffffffffffffffffffffff
I cannot run exec command on Linux using Tcl/Tk
User & Date: ferrieux on 2010-04-07 22:41:08
Changes

  1. icomment:
    Ah never mind, I managed to simulate the problem with just "sh":
    
     # sh
     $ trap "" CHLD
     $ tclsh
     % exec echo yo
     yo
     error waiting for process to exit: child process lost (is SIGCHLD ignored or trapped?)
     %
    
    This shows that when the parent process (sh or Orbix) manipulates the sigmask so as to block SIGCHLD, bad things happen, in _any_ software that spawns children, like Tcl or any shell. So I 'd say this is a Don't Do That case. Please report the problem to Orbix.
    
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"