mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-18 17:11:15 -03:00
Attempt to fix process expansion on Linux
Hopefully addresses https://github.com/fish-shell/fish-shell/issues/455
This commit is contained in:
@@ -512,9 +512,7 @@ bool process_iterator_t::next_process(wcstring *out_str, pid_t *out_pid)
|
||||
if ((cmdfile=wfopen(path + L"/cmdline", "r")))
|
||||
{
|
||||
wcstring full_command_line;
|
||||
signal_block();
|
||||
fgetws2(&full_command_line, cmdfile);
|
||||
signal_unblock();
|
||||
|
||||
/* The command line needs to be escaped */
|
||||
cmd = tok_first(full_command_line.c_str());
|
||||
|
||||
Reference in New Issue
Block a user