The system call looks suspicious indeed, you need to quote all of the arguments into one string.
In reply to Re: software inventory by moritz in thread software inventory by grashoper