Update jvm interface type to reflect latest implementation

(I.e. support for pargs in jarLaunch)
This commit is contained in:
Kris De Volder
2022-02-16 14:25:37 -08:00
parent b61a6bc7d2
commit a7230ab2ce
3 changed files with 3 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ export interface JVM {
/**
* Launch an executable jar with this jvm.
*/
jarLaunch(jar: string, vmargs?: string[], execFileOptions?: ChildProcess.ExecFileOptions) : ChildProcess.ChildProcess
jarLaunch(jar: string, vmargs?: string[], execFileOptions?: ChildProcess.ExecFileOptions, pargs?: [string]) : ChildProcess.ChildProcess
mainClassLaunch(mainClass: string, classpath: string[], jvmArgs: string[], execFileOptions?: ChildProcess.ExecFileOptions): ChildProcess.ChildProcess
}