Option Data logger don't work under Windows

deamn
2010-03-10
2013-05-30
  • deamn

    deamn - 2010-03-10

    Hello, I try this command
    C:\> opc Random.Int4 Random.Real8 -L 10 >data.log
    But the file data.log isn't never fill until I quit the task with CTRL-C.
    It's a bug???

     
  • SpinelliCreations

    I don't think it's a bug - I think it's just Windows poor implementation of things.  I've used similar commands like that with other stuff (I call them 'vomit' commands - where a program 'vomits' its output to a text file), and under Windows, you are right, it usually does not 'vomit' the output to the file until you actually stop the command, at which point the buffer writes to disk. 

    The command you note above is really only useful for troubleshooting / testing.  You should not be using that for any kind of software development.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks