From: Richard J. <rj...@ek...> - 2002-09-13 23:06:34
|
On Sat, 14 Sep 2002 8:28 am, David Goodger wrote: > I see. You want a directive that does the equivalent of > ``os.system()``, and inserts the output into the document. Hmmm. > Seems dangerous to me, to embed system calls in a document. Perhaps > that should be left outside of the document, in the user's production > system (a makefile or a script or whatever)? Or, the directive could > be disabled by default and only enabled with an explicit command-line > option or config file setting. Even then, an interactive prompt may > be useful, such as: > > The file.txt document you are processing contains a "system" > directive requesting that the ``sudo rm -rf /`` command be > executed. Allow it to execute? (y/N) I think that's a reasonable level of precaution. Richard |