Log Message:
-----------
2009-07-04 09:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
* commandResult() merged into hbmk_run().
This also means that 'getFirstFunc()' will now use
hb_process*() API on non-DOS platforms to retrieve
stdout output of 'nm' command executed.
; Przemek, could you please review this logic? It may be
wrong according to one of your recent mails. In this
case, maybe the temp file method should be used on all
platforms.
It's OK because only one file handle is used so deadlock cannot
appear.
Thank you.
Anyhow adding new function:
hb_processCommand( <cCommand>, [<cStdIn>], [@<cStdOut>],
[@<cStdErr>] )
-> <nResult>
seems to be good idea. Such command can be implemented for all
platforms
(if necessary using intermediate temporary files) so you could use it
without any problems in all builds.
This would be nice indeed.
Brgds,
Viktor
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour