Hi, I have a slight problem here. I am planning to develop a simple app (with a GUI) where a user can enter an ip address, and the computer tells if it is up or not. I am planning to use the system function here. I already have a bash script which accomplishes this, but I wonder how I can use it if system() only takes one-line arguments. Here's the bash script: Code: #!/bin/bash echo "Enter an IP address: " read ip if ! ping -c 1 -W 5 "$ip" &>/dev/null ; then echo "$ip is down" else echo "$ip is up" fi How can I put this in an objective-c app? Thank you!