id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
2942	External panelize: opening a file with an absolute path fails	ackalker	mooffie	"What version of Midnight Commander is used?

$ LC_MESSAGES=C mc -V
GNU Midnight Commander 4.8.6
Built with GLib 2.32.4
Using the S-Lang library with terminfo database
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, sftpfs, fish, smbfs
Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;


What steps will reproduce the problem?

1. Create a test HTML file (content doesn't matter):

$ touch /tmp/t.html

2. In Midnight Commander, select Command -> External Panelize

3. as Other Command / Command, enter:

echo /tmp/t.html

4. In the panelized listing, select the file /tmp/t.html and press Enter to open it.


What is the expected output?

The HTML file should open in my webbrowser

What do you see instead?

(using PCManFM) an Error popup saying ""No such file or directory"".


After editing the extension file to change the html / open action, I found that Midnight Commander is trying to open the file ${HOME}/tmp/t.html instead of /tmp/html.
Note. Viewing and editing files with absolute paths in External panelize works without problems."	defect	closed	minor	4.8.20	mc-core	master	fixed				3767	merged	committed-master
