You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I bumped into this in shellalike:
this.write = function Process_write(s) {
//print("WRITING TO", snk, 'THIS', s);
if (!s instanceof ByteString)
s = new ByteString(String(s));
var result = _write.call(snk, s, s.length);
/* Write error */
Wes: if (b instanceof require("binary").Binary) b =
require('binary').ByteArray(b)
Wes: in the future, I also intend to expose a require("gpsee").isByteThing
which would be
smarter than instanceof require("binary").Binary
Another option is to make a new Process class, that exposes three streams (at
least 2 stdin +
stdout anyways), and let the caller do the rest.
Original issue reported on code.google.com by nickgsup...@gmail.com on 12 Apr 2010 at 4:26
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
nickgsup...@gmail.com
on 12 Apr 2010 at 4:26The text was updated successfully, but these errors were encountered: