Re: RFE: feedback loops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- Original Message -----
> A relatively easy implementation would be to fiddle shell commands:
> 
> 			if (LASTCHAR(p) == '|')
> 				error(FATAL_RESTART, "pipe to nowhere?\n");
> 
> to interpret pipes to nowhere to, instead, be redirecting to a mkstemp file
> that gets read back in via an internal:
>     sprintf(pc->command_line, "< %s", tmp_file);
> after the command completes, and
>     unlink(tmp_file);
> after *those* commands complete.
> 
> What you already have works.  It's that this would be slick :).
> It would make shell scripting into a crash extension language.

Submit a patch and we'll take a look...

Dave
 

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility


[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux