I'm using MP in single instance mode. When opening folders via CLI if an instance of MP is already running and the folder on the CLI is specified using relative path, MP sometimes crashes.
To see this issue make a folder 'a' with two sub folders 'b' and 'c'. Start when MP is not running and do:
Code: Select all
~$ cd a ~/a$ xnview.sh b & # MP starts and opens folder ~/a/b ~/a$ xnview.sh c # MP changes to folder ~/a/c ~/a$ cd .. ~$ xnview.sh a # MP crashes with file not found error; # if instead I use an absolute path in this step i.e. ~/a it won't crash