>system("wget http://www.slashdot.org"); > > But without being so clunky or gross. This is incidentally for the >Haiku generation challenge posted at /. ;-) The URL is > >http://www.dotcomma.org/challenges/challenge.php?id=1 > Creating a pipe, then forking and execing and reading from the pipe is the best way I know. If I were you, I'd just use python :-) -Arun