absolut
November 10th, 2005, 03:12 PM
Hi,
My program creates a .png file and I would like to be able to open it while in the program. Is there any command I can run to automatically open that file using whatever the user's machine has set as the default application for that filetype?
right now I am hard coded to using 'eog':
system("eog picture.png")
I am worried if I run it on another machine, it might not have eye of gnome installed.
Thanks.
My program creates a .png file and I would like to be able to open it while in the program. Is there any command I can run to automatically open that file using whatever the user's machine has set as the default application for that filetype?
right now I am hard coded to using 'eog':
system("eog picture.png")
I am worried if I run it on another machine, it might not have eye of gnome installed.
Thanks.