From: Dean Wampler Date: 2006-05-03T11:27:49+09:00 Subject: Re: system() vs. commandline? When you say "truncated near the end", is that the last line of text that gets chopped? Last 1 or few characters? Does the C program close all open file handles, etc.? Also, what platform are you on? dean -- Dean Wampler http://www.aspectprogramming.com http://www.newaspects.com http://www.contract4j.org