Dimitri Trofim

Results 11 comments of Dimitri Trofim

Strange thing that the child process isn't killed by a signal - it's not started. I've debugged it: I execute /bin/bash After m_jpty.forkpty( master, name, termios, null ) the child...

I've just checked JPty tests and the test JPtyTest.testExecInPTY is failing on my machine: ``` junit.framework.AssertionFailedError: Unexpected process result! expected: but was: at jpty.JPtyTest.testExecInPTY(JPtyTest.java:244) ```

Hi, I think I can try to fix it myself. Any ideas and hints where to start are greatly appreciated.

You mean to run it inside normal terminal on my Mac? I will do that today in the evening as now I don't have access to my Mac. But note...

I've tried to rewrite JPty and was experimenting with different parts of it and in the end I have found out that the hang appears unpredictable between fork and execv...

I've also made some kind of fork of JPty and elt(eclipse terminal) where implemented all this: https://github.com/traff/pty4j

@fijal Could you please release the fix?

@erishforG What do you think about having the translation in UTF-8? This will allow to have it readable. And conversion to the UTF-16 can happen during the build step.

By the way, why do we do that? I don't get it from comment.