Calling a Command line tool from an application