[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: & and M-& to run programs asynchronously
From: |
Juri Linkov |
Subject: |
Re: & and M-& to run programs asynchronously |
Date: |
Tue, 07 Jul 2009 02:51:00 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) |
> I don't know if it's worth to open a new thread, but as this one is
> related I'll like to report some problem I've had while testing the
> new "&" command (dired-do-async-shell-command).
>
> If you use it to execute a command that opens a child process then it
> will have no effect at all, the parent process will be finished and no
> program will be executed. You can reproduce this if you execute &
> xdg-open (freedesktop command for opening a file).
>
> dired-do-shell-command does work when you use it to execute xdg-open,
> but it will run the program synchronously.
>
> Would it be possible to fix this so that "&" waits for child processes
> running asynchronously to finish?
I see that running `M-! xdg-open file &' works correctly on KDE,
but fails on Gnome. Is this an Emacs bug at all?
--
Juri Linkov
http://www.jurta.org/emacs/