nodejs exec(ps ax | grep "something")若something不存在就报错,killed:false, code:1, signal:null,求解释
2014年10月10日 17:29:32的屏幕截图.png
11 回复
@think2011 从网上下的一个color scheme,http://pan.baidu.com/s/1sjLPInb,我放在网盘里了,解压后两个文件放在主目录下的 .config/sublime-text-2/Packages/Color Scheme - Default/里就可以了把,你试试
终端窗口中执行man grep,其中EXIT STATUS部分的内容:
The exit status is 0 if selected lines are found, and 1 if not found. If an error occurred, the exit status is 2. (Note: POSIX error handling code should check for ‘2’ or greater.)