2018
Feb
7
awarded  Cleanup
Feb
7
awarded  Custodian
Feb
7
revised Script output has mysterious trailing characters when executed in a specific environment
rolled back to a previous revision
Feb
7
reviewed Reject Script output has mysterious trailing characters when executed in a specific environment
Feb
7
awarded  Student
2017
Nov
15
comment Script output has mysterious trailing characters when executed in a specific environment
No there isn't.
Nov
6
comment Script output has mysterious trailing characters when executed in a specific environment
Well, calling it a console might be generous. Its really using Java to execute bash and its inheriting the environment that IntelliJ was launched from.
Nov
6
comment Script output has mysterious trailing characters when executed in a specific environment
@BLayer As for "where is that displaying", all of this information came from debugging unit tests in IntelliJ's debugger. I had to actually step through line by line, see the output of the Appium shell execution saved as a Java variable, see .trim() do nothing because it didn't end in whitespace, etc.
Nov
5
comment Script output has mysterious trailing characters when executed in a specific environment
I just updated the second paragraph with a link to the source code that Appium uses to execute the script. It happens each time I run a unit test so it isn't an IDE startup thing. They also explicitly execute the script with bash (despite having put the sh shebang...). I do find that escape sequence very interesting though, I didn't know that. That's the kind of thing I was hoping to learn from this post too so thank you.
Nov
5
awarded  Editor
Nov
5
revised Script output has mysterious trailing characters when executed in a specific environment
Added more information and a link to the relevant part of the source code for Appium.
Nov
5
asked Script output has mysterious trailing characters when executed in a specific environment
2015
Feb
2
awarded  Supporter