port = open_port("myscript.sh", []) result = process_port(port)