public static String generateArgline(final String scriptpath, final String[] args) {
        return generateArgline(scriptpath, args, " ", false);
    }
public static String generateArgline ( final String scriptpath , final String [ ] args ) { return generateArgline ( scriptpath , args , " " , false ) ; }
Create an appropriately quoted argline to use given the command (script path) and argument strings.

@param scriptpath path to command or script
@param args       arguments to pass to the command

@return a String of the command followed by the arguments, where each item which has spaces is appropriately
quoted.  Pre-quoted items are not changed during "unsafe" quoting.

At this point in time, default behavior is "unsafe" quoting.