On Mon, 20 Apr 2009, Szak�ts Viktor wrote:
Hi,
> Can we replace system() with something else? Or can I replace hb_run()
> with some other, existing method?
Try the code below.
best regards,
Przemek
/*** tst.prg ***/
proc main( ... )
local cParams
if pcount() == 0
cParams := repl( "xxx ", 10 )
? "Executing:", HB_PROGNAME()
? "Result", HB_PROCESSVALUE( HB_PROCESSOPEN( ;
HB_PROGNAME() + " " + cParams ) )
else
// ? "Command line [" + hb_cmdline() + "]"
? "Command line length:", len( hb_cmdline() )
endif
?
return
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour