OT: ptime [WAS: Re: stdio performance in tango, stdlib, and perl]
Sean Kelly
sean at f4.ca
Fri Mar 23 12:53:20 PDT 2007
torhu wrote:
> Sean Kelly wrote:
>> Hm, I suspect IO redirection must be a feature of the shell. It's a
>> bit of a hack, but this may work "ptime cmd /c cat < test.txt." I'll
>> see how complicated a real fix would be.
>
> I get the same error. My own tool doesn't have such problems, but it
> only uses the standard C system() function. Which might be too limited
> for what your tool does.
Yeah, mine uses CreateProcess and then GetProcessTimes. I'll give the
docs a look later and see if I can figure out why it's not working.
More information about the Digitalmars-d
mailing list