system("/bin/sh -c /bin/uname -a") #### system("/bin/sh -c \"/bin/uname -a\"") ; # or (more readable): system(qq(/bin/sh -c "/bin/uname -a"))