Use g_warning() for error message in pgpipe().