Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1882b72c510cf188df0b90455eaaff658d6ce62b
Ticket: 218092ffffffffffffffffffffffffffffffffff
hang up on "exec command.com / c dir"
User & Date: nobody on 2000-10-26 00:53:04
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1756 Bug
    Version: 8.1b3
    SubmitDate: '1999-04-08'
    LastModified: '1999-04-16'
    Severity: CRIT
    Status: Closed
    Submitter: pat
    ChangedBy: surles
    OS: Windows 95
    Machine: X86
    FixedDate: '2000-10-25'
    ClosedDate: '1999-04-16'
    
    
    Name:
    Chengye Mao
    
    Comments:
    This problem has been there since Tcl81a2. I hope it will be solved in
        the final release of Tcl81.
    
    ReproducibleScript:
    exec command.com / c dir
        
        It hangs up in both tclsh81 and wish81.
    
    ObservedBehavior:
    I reported the same problem on April 7, but was not accurate.  In the
        previous report, I said the problem had occured since Tcl81b2. As a
        matter of fact, I verified the same problem exists in tcl81a2 before I
        am writing the report.
    
    DesiredBehavior:
    A strange thing is that the script
        
        dir
        
        works fine in tclsh81 but
        
        exec command.com / c dir
        
        hangs up.
        
        Both "dir" and "exec command.com / c dir" hang up in console
        (wish81.exe)
    
    
    
    04/16/1999 14:38 - surles - I replied to this guy when I closed out the bug.  Here is the message I sent him.
    
    I looked into the bug you reported and have some answers for you.  Unfortunately this seems 
    like a Windows bug.  The command line you sent has a space between the '/' and 'c' which 
    confuses command.com.  When I run this command in wish81.exe then watch the task 
    manager, I noticed the ntvmd.exe was the executable that was spinning the CPU.
    
    Fortunately there are several solutions:
    
    1) You should be using the string in $env(ComSpec) to launch a Windows shell.  This will 
    guarantee that your are using the MS "approved" shell.
    
    2) If you remove the space between the '/' and 'c', I believe you will get the desired results.
    
    Since we are not in the business of fixing Windows bugs, I am going to close out this bug.  If 
    you feel that I am misunderstanding something, please email me back, and we'll figure it out.
    
    
    
  4. foundin changed to: "obsolete: 8.1b3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "hang up on "exec command.com / c dir""
  11. type changed to: "Bug"