This repository has been archived by the owner. It is now read-only.

send-function #23

Merged
merged 1 commit into from Apr 13, 2012
Jump to file or symbol
Failed to load files and symbols.
+2 −3
Diff settings

Always

Just for now

View
@@ -100,10 +100,9 @@ def expect(self, bytes, stream=None):
stream = self.std_out
pass
- def send(self, end='\n'):
+ def send(self, str, end='\n'):
"""Sends a line to std_in."""
- #TODO: Y U LINE BUFFER
- pass
+ return self._process.stdin.write(str+end)
def block(self):
"""Blocks until command finishes. Returns Response instance."""