This method (on all platforms) executes a command and parses the output as a number which is then returned as both an integer and a double value. The integer value of a true double truncates the remainder.
The command that is executed can return information by sending a number to stdout. If the executed command returns more than one number, an error will result.
The executable can return information by sending strings to stdout. If the executable returns more than one line, the lines are concatenated to produce one string.