This is very useful when needing a tty present. A good example is trying to execute a remote command that requires input via a Java based CLI. Since Java 7 this has been supported by ProcessBuilder and is portable. To emulate this behavior in zt-exec one needs to use /dev/tty redirects in the command which isn't portable.
This is very useful when needing a tty present. A good example is trying to execute a remote command that requires input via a Java based CLI. Since Java 7 this has been supported by
ProcessBuilderand is portable. To emulate this behavior inzt-execone needs to use/dev/ttyredirects in the command which isn't portable.