ヤマザキです。 安直な解決方法ですが > > $command_result = system("ps -axu | grep command_name"); > $tmpfile = tempnam("/tmp", "psaxu"); $command_result = system("ps -axu | grep command_name > $tmpfile"); とか。 -- ヤマザキ Wildcard Project. email: yamazaki@wildcard.mine.nu HP: http://wildcard.mine.nu/