function openURL( url ) {
	var args;
	var proc;
	var i;
	if ( !isURI( url ) ) {
		throw new TypeError( format( 'invalid argument. Must provide a valid URI. Value: `%s`.', url ) );
	}
	args = new Array( ARGS.length );
	for ( i = 0; i < ARGS.length; i++ ) {
		args[ i ] = ARGS[ i ];
	}
	if ( IS_WINDOWS ) {
		// `&` characters must be escaped when passed to `start`:
		url = url.replace( /&/g, '^&' );
	}
	args.push( url );

	// Spawn a child process to open the URL:
	proc = spawn( CMD, args, {} );

	// To prevent the parent process waiting on the child process, we unreference the process to remove it from the parent's reference count:
	proc.unref();

	return proc;
}
Opens a URL.

@param {string} url - URL to open
@throws {TypeError} must provide a valid URI
@returns {Process} spawned process (unreferenced)

@example
var proc = openURL( 'https://google.com' );