raylu 7 năm trước cách đây
mục cha
commit
cfff18cf74
1 tập tin đã thay đổi với 9 bổ sung0 xóa
  1. 9 0
      yes

+ 9 - 0
yes

@@ -0,0 +1,9 @@
+#!/usr/bin/env python3
+
+import os
+import sys
+
+if sys.stdout.isatty():
+	sys.exit('stdout is a tty - not running /usr/bin/yes')
+
+os.execvp('/usr/bin/yes', sys.argv)