http://qs321.pair.com?node_id=866092

renegadex has asked for the wisdom of the Perl Monks concerning the following question:

i have this code inside a perl script.
system('gvfs-mount smb://192.168.1.108/public');
if i open a gnome-terminal and run my script there, the network share is mounted on my computer. but if i change the permission of the script into 'allow executing file as a program' and double clicked on the script and select run. i doesnt mount the network share. the same happens when i create a desktop launcher(application). but if i create a desktop launcher(application in terminal) it mounts properly. what is happening? i need to run the script as an application and not an application in terminal.
Mabuhay Civil Engineers! :D