ID 397845 - SESysStdOut and SESysStdErr report that they are tty's, when they are not tty's

Follow

Problem summary
SESysStdOut and SESysStdErr report that they are tty's, when they are not tty's.

Customer reported version
nuke.n/a

Customer reported platform

Steps to reproduce

1) Open Nuke

2) In the Script Editor, run the following code:
import sys
print type(sys.stdout)
print sys.stdout.isatty()
This should print False, but it prints True instead.

Expected behaviour
For sys.stdout.isatty() to return False as the Script Editor is not a tty

Actual behaviour
sys.stdout.isatty() returns rue

Reproduced by support
This bug has been reproduced in:
Nuke 11.3v4 - Windows 10 - CentOS 6.9
Nuke 11.3v1 - Windows 10
Nuke 11.2v1 - Windows 10
Nuke 11.1v1 - Windows 10
Nuke 11.0v1 - Windows 10
Nuke 10.5v1 - Windows 10
Nuke 10.0v1 - Windows 10
Nuke 9.0v1 - Windows 10
Nuke 8.0v1 - Windows 10 - CentOS 6.9

Unable to reproduce bug in:
Nuke 11.3v4 - MacOSX 10.13

Earliest version tested
Nuke 8.0v1 - This issue appears to be in all versions of the product for Windows and CentOS, but never appears on OSX

    We're sorry to hear that

    Please tell us why