mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
237 B
13 lines
237 B
15 years ago
|
process.mixin(require("../common"));
|
||
|
process.stdio.open();
|
||
15 years ago
|
|
||
|
print("hello world\r\n");
|
||
|
|
||
15 years ago
|
process.stdio.addListener("data", function (data) {
|
||
15 years ago
|
print(data);
|
||
|
});
|
||
|
|
||
|
process.stdio.addListener("close", function () {
|
||
|
process.stdio.close();
|
||
|
});
|