[Starkit] Why doesn't tclkitsh recognize mkdir?

Jeff Godfrey jeff_godfrey at pobox.com
Fri Jul 14 13:53:10 CEST 2006


Message----- Original Message ----- 
From: Rilling, Brett B
To: starkit at equi4.com
Sent: Friday, July 14, 2006 12:45 PM
Subject: [Starkit] Why doesn't tclkitsh recognize mkdir?


> Why doesn't tclkitsh recognize mkdir?

Because mkdir isn't a tcl command...  You want [file mkdir ...].

> When I run this script:
> ...
> I get the following error:
> ...
> However I can successfully initiate tclkitsh first and then type 
> "mkdir backup" directly into it.

When run interactively, tcl has access to *external* commands - which 
is where it's apparently finding your system's "mkdir" command...

Jeff



More information about the Starkit mailing list