On 08/10/2010, at 2:11 AM, Erick Tryzelaar wrote: > On Thu, Oct 7, 2010 at 6:53 AM, john skaller > <skal...@users.sourceforge.net> wrote: >> >> On 08/10/2010, at 12:19 AM, john skaller wrote: >> >> OMG I have narrowed the bug down to this: >> >> system(cmd + ">tmp.out"); >> output = load_file("tmp.out"); >> >> where cmd is a flx_pkgconfig command. >> >> I have NO idea why this doesn't work.
Ah. I do now.. had to flush stdout to force the file to be written. That sucks TOTALLY. The redirection is **inside** the shell command, it has nothing to do with the stdout enclosing it: sure the shell redirects it, but so what? -- john skaller skal...@users.sourceforge.net ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language