[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Postprocessing script for cups-pdf



I have written a PostProcessing script in python for cups-pdf which pops up a notification using libnotify and gives the user the option of viewing the result. It is working fine, but if the user decides to view the file, all the other jobs to the pdf printer are held in queue till the viewing application exits.

I have used `gnome-open' to launch the appropriate application. From the shell, gnome-open returns immediately, so apparently, cups-pdf is waiting till *all* child processes started by the postprocessing script exit.

Has anyone run into this problem? Any workarounds?

Thanks,

Raj Kiran Grandhi


Reply to: