The dcop commandline utility is of course a different process, have it's standard streams.
If you want to have a feedback from the DCOP call, it has to pass it as its return value.
I think bool or int, if you can hav severaly failure codes), might work best.
Cheers,
_