ksh 把耗时的任务放到后台并监视其是否完成 demo code#!/usr/bin/env ksh function test { sleep 10 & pid=$! typeset -i i=1 while true do { ps -ef | grep -v grep | grep -q $pid if [ $? -eq 0 ] then
expect 语言 expect借用了tcl的语法并加上了expect send send_user interact timeout eof 等关键字expect 只有一种变量类型,字符串变量支持代换set a don # set a to "don" set b dd$a # set b to "dddon" set c a=$b # set c to "a=dddon"
py2exe 打包python2.6版本以上报错“由于应用程序配置不正确……” 用py2exe对python2.6程序封装后,在某些机器上无法运行参考了py2exe官网:http://www.py2exe.org/index.cgi/Tutorial#Step52找出了解决办法:在发布的程序目录下建立一个文件名为:Microsoft.VC90.CRT.manifest 内容如下:
What is loopback file device 什么是回送设备 In Unix-like operating systems, a loop device , loopback device , vnd (vnode disk), or lofi (loopback file interface) is a pseudo-device that makes a file accessible as a pseudo-device. A loop device may allow some kind of data elaboratio
install Shelled on Eclipse on windows 直接安装会报错,说依赖项目确认失败需要先安装http://download.eclipse.org/technology/linuxtools/updates-nightly 然后才是 shelled
programming python thread http://www.ibm.com/developerworks/cn/aix/library/au-threadingpython/index.html#mainIBM talking about programming Python thread