Merge remote-tracking branch 'origin/mdw/master.found-crybaby'
[tripe] / py / tripe.py.in
index a9be668..db194e2 100644 (file)
@@ -446,6 +446,9 @@ class TripeCommand (object):
 
   def __init__(me, words):
     """Make a new command consisting of the given list of WORDS."""
+    for word in words:
+      if '\n' in word:
+        raise TripeInternalError("command word contains newline")
     me.words = words
 
 class TripeSynchronousCommand (TripeCommand):