Use exec rather than system.