Hi Julian Am 08.11.2012 17:10, schrieb Julian Wiesener: > [..] > look at include/cxxtools/posix/commandoutput.h, there is an example for > that. Ah, thats what Ive looked for! Runs fine. Thx!
> > However, i'm almost sure, that this is not really what you want to do. > If you want to iterate thru a directory to create your file list, > parsing the output of 'ls' is an ill driven approach. Have a look at > include/cxxtools/directory.h instead. > Ok, this is right, too. But I need an recursive access to a directory tree. Maybe there is a possibility to get the filetype (i only need type "dir" and "link")? It looks like there is no implementation in C++ or tntnet for it. Any suggestions for that? My first idea was to use the "chdir" method of cxxtools::directory, but this seems broken (what happens, if chdir fails?). Tfh! Oliver ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov _______________________________________________ Tntnet-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tntnet-general
