java - Can a process write to both Error Stream and Input Stream? -


i'm creating class abstract process builder , makes bit more 'user-friendly' , wonder if there's chance process can write both input , error stream?

if so, can give me example situation happens?

i want determine whether return input buffer after checking error stream. or have return both of them - way if input stream contains useful information user able use it.

yes process can write both streams. consider situation process needs manipulation on input values sequentially, , process prints ok input stream every correct input, while same prints error on error stream if there logical input validation failure. print ok on input till finds error , error on error stream.

also standard messages sent input stream while warnings , errors go error stream.


Comments

Popular posts from this blog

java - Incorrect order of records in M-M relationship in hibernate -

command line - Use qwinsta in PowerShell ISE -

php - I want to create a website for polls/survey like this http://www.poll-maker.com/ -