<@U7EJKCEJ3> you might be able to do via a python ...
# general
w
@quiet-garden-96241 you might be able to do via a python test
Copy code
# repl complains if stdin is not a tty
master, slave = pty.openpty()

replProcess = Popen(['./pants', 'repl', ...], stdin=slave, stdout=PIPE, stderr=PIPE)

ttyIn = os.fdopen(master, 'w')
yield (replProcess, ttyIn)

if replProcess.poll() is None:
  replProcess.terminate()
replProcess.wait()
👍 1