At the moment flx has a switch "--echo" which is used to try to make it echo shell commands. However flx could be used in a shell script or program, and there are other tools that do shell callouts.
So I am hijacking the system and popen_in functions and inserting a test based on an environment variable, which is set, will cause the shell commands to be echoed to stderr. This can be applied outside a process script. i.e. non-invasively. Seems a better idea than passing switches all over the place, even though the latter is more selective. The variable is: FLX_SHELL_ECHO and if set to anything other than "" will cause all shell callouts to be echoed to standard error. I should document this and other such environment variables which can be used for monitoring, eg you can monitor the garbage collector already, service calls, etc. -- john skaller skal...@users.sourceforge.net http://felix-lang.org ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language