Add option to customize the FIFO filename and remove PID by default in filename #850

Closed
flashcode opened this Issue Nov 20, 2016 · 1 comment

Projects

None yet

1 participant

@flashcode
Member

The FIFO filename currently includes the PID of WeeChat, which is useless because only one WeeChat instance can use the home directory, so there's only one FIFO file at a given time.

Moreover, it could be useful to customize the path and filename of FIFO pipe with a new option (evaluated).
The default path/name could be: %h/weechat_fifo (ie ~/.weechat/weechat_fifo with the default WeeChat home directory).

An info "pid" must be added if ever people want to get back the PID in the filename.
So the old FIFO name would be set with this value: %h/weechat_fifo_${info:pid}.

@flashcode flashcode added this to the 1.7 milestone Nov 20, 2016
@flashcode flashcode self-assigned this Nov 20, 2016
@flashcode
Member

I also added a question in the FAQ: b0c8f33

@flashcode flashcode closed this in 0cec295 Nov 22, 2016
@flashcode flashcode removed the in progress label Nov 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment