Skip to content

Latest commit

 

History

History
78 lines (40 loc) · 1.33 KB

File metadata and controls

78 lines (40 loc) · 1.33 KB
hide_title true
custom_edit_url
pagination_prev
pagination_next

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, options: ILaunchOptions): void;

Parameters

Parameter

Type

Description

launcherVersion

string

options

ILaunchOptions

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.