a new program (no code, yet) will launch many child processes that all will be printing long lines of info to stdout that is passed along from the parent (not piped to the parent). it is essential that each line stay whole and that the interleaving between lines never breaks a line in the middle no matter how stdout gets redirected by the shell when program gets run. lines will not be longer than 1000 characters but they could have Unicode characters in UTF-8 form some day in the future. this will only ever be run on Linux, BSD, Mac, or Unix, never on Windows, DOS, or OS/2. what is the best way, in Python, to ensure that this works?
edit:
to be clear, the parent is passing along stdout that it originally got when it began.
edit:
to be clear, the parent is passing along stdout that it originally got when it began.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.