i have this code inside a perl script.
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