NodeJS学习第一季-Process
2015-07-13 13:29
676 查看
1、当我们想要查看应用程序当前目录时,可以使用cwd函数
2、将内容打印到输出设备上
3、stderr是标准错误流
4、设置编码
process.cwd();
2、将内容打印到输出设备上
process.stdout.write('hello world');
3、stderr是标准错误流
process.stderr.write('hello world');
4、设置编码
process.stdin.setEncoding('utf8');
相关文章推荐
- 工作节点配置
- The method getTextContent() is undefined for the type Node
- [INS-40901] The cluster node information table is unfilled 解决方案
- node.js(一)
- node.js安装
- node.js表单——formidable
- Node:链式前向星
- Node:原地归并
- node js 修改js代码自动发布到服务器
- node.js入门
- Populating Next Right Pointers in Each Node II
- nodejs学习之模块:crypto和body-parser
- node命令
- NodeJS学习第一季-阻塞与非阻塞
- Remove Nth Node From End of List
- Remove Nth Node From End of List
- ubuntu14.04下安装node.js
- nodejs npm常用命令
- NodeJS学习第一季-HelloWorld
- NodeJS学习第一季-安装与介绍