You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Working linux app using EM suddenly stops logging via redirection ex "app > log.txt". removing EM from the app and redirection works. Searching and debugging found this info:
"Based on your strace it sounds like the program is testing if stdin and/our stdout is a tty. I've never used it but you could try using empty.sourceforge.net. It's suppose to create a pseudo-tty which should fool your program's check."
Grabbed empty from sourceforge and "empty -F -L log.txt app" lets the logging work just fine.
This is with 12.10 and 1.0.0. Is there any check of this type by EM?
The text was updated successfully, but these errors were encountered:
Working linux app using EM suddenly stops logging via redirection ex "app > log.txt". removing EM from the app and redirection works. Searching and debugging found this info:
http://stackoverflow.com/questions/4459077/output-redirection-doesnt-work-for-a-certain-program
"Based on your strace it sounds like the program is testing if stdin and/our stdout is a tty. I've never used it but you could try using empty.sourceforge.net. It's suppose to create a pseudo-tty which should fool your program's check."
Grabbed empty from sourceforge and "empty -F -L log.txt app" lets the logging work just fine.
This is with 12.10 and 1.0.0. Is there any check of this type by EM?
The text was updated successfully, but these errors were encountered: