Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > Rush > launch

Rush.launch() method

This API is used by the @microsoft/rush front end to launch the "rush" command-line. Third-party tools should not use this API. Instead, they should execute the "rush" binary and start a new Node.js process.

Signature:

static launch(launcherVersion: string, arg: ILaunchOptions): void;

Parameters

ParameterTypeDescription
launcherVersionstring
argILaunchOptions

Returns:

void

Remarks

Earlier versions of the rush frontend used a different API contract. In the old contract, the second argument was the isManaged value of the ILaunchOptions object.

Even though this API isn't documented, it is still supported for legacy compatibility.