1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-09-11 13:13:59 +03:00

make Platform.exec async

This commit is contained in:
Eugene Pankov 2022-09-27 23:07:26 +02:00
parent 4564b451c8
commit ef1366ef7f
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4
2 changed files with 3 additions and 3 deletions

View File

@ -145,7 +145,7 @@ export abstract class PlatformService {
throw new Error('Not implemented')
}
exec (app: string, argv: string[]): void {
async exec (app: string, argv: string[]): Promise<void> {
throw new Error('Not implemented')
}

View File

@ -80,8 +80,8 @@ export class ElectronPlatformService extends PlatformService {
return null
}
exec (app: string, argv: string[]): void {
execFile(app, argv)
async exec (app: string, argv: string[]): Promise<void> {
await execFile(app, argv)
}
isShellIntegrationSupported (): boolean {