ChinaUnix.net
相关文章推荐:

tclsh 不能删除

在安装ltib的时候报出下面错误: You should not be root when running ltib, do you really want to continue ? y|N bg9305:/project/P2020/ltib-p2020ds-20100331# su hougl bg9305:/project/P2020/ltib-p2020ds-20100331$ ./ltib sh: tclsh: command not found ltib cannot be run because one or more of the host packages needed to run it are either missing or out of date or not in ltib's standard path. Pleas...

by hougl1982 - Shell - 2011-09-08 16:50:03 阅读(4188) 回复(1)

相关讨论

当"tclsh",然后"load 绝对路径/xxx.so", 显示: couldn't load file "绝对路径/xxx.so": 绝对路径/xxx.so: cannot open shared object file: No such file or directory 可是"file readable 绝对路径/xxx.so" 又能找到该文件. 请问这是什么原因? 谢谢!

by sunworld - Shell - 2011-07-15 14:39:59 阅读(2009) 回复(2)

本帖最后由 654013 于 2012-12-14 01:56 编辑 安装模块时显示《tclsh》不是可运行文件。,不是批处理文件什么的。 求怎么解决。谢谢。:sleepy:

by 654013 - Perl - 2012-12-14 01:57:42 阅读(1499) 回复(3)

另外求教tclsh中如何从命令行给变量赋值。 类似与 read a 这种方式。

by jlu204 - Shell - 2008-11-05 13:29:54 阅读(2432) 回复(4)

想学一下TCL,不知道有没有相关的电子学习资料,烦请告知。谢谢!

by zza - Shell - 2004-09-26 11:10:14 阅读(1112) 回复(0)

tclsh下,启动一个subprocess(用exec启动).在某个时候,想知道前面subprocess的状态(比如,有没有运行结束?) 用什么命令和方法? 谢谢!

by sunworld - Shell - 2011-07-20 12:33:18 阅读(1855) 回复(0)

需要在tcl中执行linux/win32命令,获得其stdout,stderr输出,和errno. 下面是我的一些尝试, 不行, 有高手说说看不? (bin) 3 % if [catch {exec "dir"} Chan] { > puts stdout "Sorry, ...\n" > } Sorry, ... (bin) 4 % get $Chan can not find channel named "couldn't execute "dir": no such file or directory" (bin) 5 % ===== bin) 5 % set x [split [dir] \n] { Volume in drive L is Library} { Volume Serial Number ...

by iamkey9 - Shell - 2009-04-16 09:47:18 阅读(5934) 回复(5)

能否拷贝某几个库文件过去呢? 哪位做过? 我在oracle网站上下了10g的无需安装客户端的几个文件,使用sqlplus都能连上了,但是tclsh连不上去。 也不报具体错误,只是说失败,后来通过抓包看到的好像是没有把密码传过去。

by welcome008 - Oracle - 2007-06-23 12:35:11 阅读(1268) 回复(0)

请问exec tclsh "$0" ${1+"$@"} 怎么理解? exec tclsh "$0" ${1+"$@"} 很多地方是这样表达: exec wish "$0" "$@" 自己测试觉得两者没有是什么区别,如下 [root@ntp tcl]# ./test 1 2 3 hello ./test 1 2 3 1 2 3 [root@ntp tcl]# vi test #!/bin/sh # \ echo hello echo $0 echo ${1+"$@"} echo "$@" -----------------------------------------------------------------${1+"$@"} 具体代表什么意思呢? 下面的分析是否合...

by oychw - Shell - 2007-01-02 15:48:14 阅读(5235) 回复(6)

以下是一个expect的简单测试程序。 在windows下的cmd下可以通过指令: “E:\Tcl\bin\tclsh 脚本名”成功执行。但是在用VC调用该脚本时,却不能成功。 因为在VC跟踪 char *scriptpath="e:/test"; tclres=Tcl_Evalfile(interp,scriptpath); tclres 返回为1。(TCL_ERROR) 请问各位大侠是不是我的Tcl脚本出了什么问题啊?谢谢了! #!/bin/sh # \ exec tclsh "$0" ${1+"$@"} # This is required to declare that we will use Exp...

by JAMESBONE - Shell - 2007-08-04 11:41:16 阅读(4095) 回复(1)