From: kazaam Date: 2007-08-25T03:05:05+09:00 Subject: How to check for an error if executing a shell command e.g. with system('commandhere')? Hi, I'm writing a little script to install some drivers but I wanna react in this script if any step fails. So e.g. I'm doing this: system('dpkg -i xorg-driver-fglrx fglrx-kernel-source') How can I check if this was succesful or if there was any error? -- kazaam