Skip to content

[run] repl/stdin to remote issues #631

@rwaldron

Description

@rwaldron

Easily reproduced with:

var repl = require('repl');
var connections = 0;

repl.start({
  prompt: 'Node.js via stdin> ',
  input: process.stdin,
  output: process.stdout
});

Actual:

$ t2 run repl.js
INFO Looking for your Tessel...
INFO Connected to bishop.
INFO Building project.
INFO Writing project to RAM on bishop (96.256 kB)...
INFO Deployed.
INFO Running repl.js...
Node.js via stdin> 1

Expected:

$ t2 run repl.js
INFO Looking for your Tessel...
INFO Connected to bishop.
INFO Building project.
INFO Writing project to RAM on bishop (96.256 kB)...
INFO Deployed.
INFO Running repl.js...
Node.js via stdin> 1
1
Node.js via stdin> 1 + 2
3
Node.js via stdin>

If you run with just node.js:

$ node repl.js
Node.js via stdin> 1
1
Node.js via stdin> 1 + 2
3
Node.js via stdin>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions