hi,
i'm trying to execute some programs from within a c++-program, where i
ask the user to specify the root password and would like to execute the
command then with "su -c "the-command", via popen.
but i always get back the error "standard in must be a tty" from su.
i know what the error means, but is there a possibility by maybe pretending
the c++-program to be a tty? any ideas?
thanks,
toby