Let's say I have some tool that, at some point in its execution, asks for user input. For example, it might ask for name and address. At another point it might ask for a password (and retyping of the password).
Is it possible for NSTask and NSPipe objects to deal with these things, i.e. to interact with command line tools?