Share

Expect

Tracker: Bugs

5 Wrong error message from "spawn" command - ID: 2891422
Last Update: Comment added ( andreas_kupries )

Using Expect version 5.44.1.14, observed on AIX 5.3 and Solaris 9.

# /usr/local/ActiveTcl/bin/tclsh
% package req Expect
5.44.1.14
% spawn "ls -l /usr/bin"
spawn ls -l /usr/bin
couldn't execute "": no such file or directory
%

As you can see, the thing that spawn is saying it couldn't execute is "",
instead of "ls -l /usr/bin"


eee ( eee ) - 2009-11-03 18:59

5

Closed

Fixed

Andreas Kupries

None

None

Public


Comment ( 1 )

Date: 2009-11-03 19:28
Sender: andreas_kupries

Fix committed to head. Bumped to 5.44.1.15
Tcl_Obj* used argument for %s :(
Replaced with correct char* typed variable.



Attached File

No Files Currently Attached

Changes ( 5 )

Field Old Value Date By
status_id Open 2009-11-03 19:28 andreas_kupries
resolution_id None 2009-11-03 19:28 andreas_kupries
assigned_to nobody 2009-11-03 19:28 andreas_kupries
allow_comments 1 2009-11-03 19:28 andreas_kupries
close_date - 2009-11-03 19:28 andreas_kupries