during installation of vmware,
i tried this and got this error
neil@crunchbang:~$ gksudo ./vmware.bundle
(gksudo:7159): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
then i tried
neil@crunchbang:~$ gksudo bash vmware.bundle
Extracting VMware Installer...done.
which did it.
i just want to know the difference b/w ./ and bash commands ?
Last edited by neil_fl (2012-04-04 19:52:14)
Could it be the ./vmware.bundle file is not executable? Then you'd need to call bash to execute it for you.
The ./ issue is related to what executable files are in your PATH. (Run echo $PATH in a terminal to see it.) If you type a single word command in a terminal bash will look in your PATH for it. PATH does not include the current working directory for security reasons, so if you want to run an executable there you have to explicitly call it with ./executable.
If you're running it in a terminal you should probably use sudo instead of gksudo. gksudo ( or gksu ) is for running programs that open a GTK window, like geany or thunar.