Click here to Skip to main content
15,900,325 members

Comments by Dreamcooled (Top 6 by date)

Dreamcooled 27-Feb-12 13:58pm View    
Thanks a lot for your answer. Good to know for further projects :).
Dreamcooled 24-Feb-12 18:14pm View    
Just for simplification, easier argument etc. (I'm sure the bug isn't there).

Yes it's really strange. Is it possible that unrar detects the environment?
Dreamcooled 24-Feb-12 15:43pm View    
No. I start the application and log the output (see question). And I wonder why the application doesn't wait until I enter something (over the input stream), instead it just goes on.

How I want it:
I start the application.
The application asks me for the password.
I provide the password over the input stream.
The application checks the password and goes on (or prints an error).

What happens instead:
I start the application
The application asks me for the password.
(I don't do anything)
The application goes on and prints an error (even if I haven't send any char)! (But it should wait on one!)

(Btw, sorry for my bad english. It's not my mother tongue...)
Dreamcooled 24-Feb-12 15:32pm View    
Well I'm sorry for this uncertainty. I checked out your link, and I think I know really well how to redirect a input stream :). But what should I write to the stream (not implemented in the copied source) if the process ends directly after starting? The problem is that the process doesn't wait on my inputs!
Dreamcooled 24-Feb-12 15:11pm View    
Deleted
Well I'm sorry for this uncertainty. I checked out your link, and I think I know really well how to redirect a input stream :). But what should I write to the stream (not implemented in the copied source) if the process ends directly after starting? The problem is that the process doesn't wait on my inputs!