[PATCH] Already running a command

Leonard den Ottolander leonard at den.ottolander.nl
Mon Nov 22 02:57:35 UTC 2004


Hi,

I wrote:
> I forgot to remove the comment about subshell state ACTIVE.

These improvements make subshell_ready extern, so we can test if
(subshell_ready == TRUE) in shell_execute() instead of if
(subshell_state == INACTIVE) before calling do_execute(). We should
investigate if subshell_state is perhaps totally redundant.

This improvement should fix oddities with passing keyboard input on the
panel prompt if a subshell is still running (f.e. ls -R | less) with the
previous patch.

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research

-------------- next part --------------
A non-text attachment was scrubbed...
Name: subshell.diff
Type: text/x-patch
Size: 2520 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20041122/8c558936/attachment.bin>


More information about the mc-devel mailing list