From: Sebastian Hungerecker Date: 2007-08-25T03:15:04+09:00 Subject: Re: How to check for an error if executing a shell command e.g. with system('commandhere')? kazaam wrote: > system('dpkg -i xorg-driver-fglrx fglrx-kernel-source') > How can I check if this was succesful or if there was any error? system returns true or false depending on whether or not the command exited successfully. You can also look at the exit status via the global var $? HTH