mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-03 06:11:57 +08:00
make Platform.exec async
This commit is contained in:
parent
4564b451c8
commit
ef1366ef7f
@ -145,7 +145,7 @@ export abstract class PlatformService {
|
|||||||
throw new Error('Not implemented')
|
throw new Error('Not implemented')
|
||||||
}
|
}
|
||||||
|
|
||||||
exec (app: string, argv: string[]): void {
|
async exec (app: string, argv: string[]): Promise<void> {
|
||||||
throw new Error('Not implemented')
|
throw new Error('Not implemented')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -80,8 +80,8 @@ export class ElectronPlatformService extends PlatformService {
|
|||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
exec (app: string, argv: string[]): void {
|
async exec (app: string, argv: string[]): Promise<void> {
|
||||||
execFile(app, argv)
|
await execFile(app, argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
isShellIntegrationSupported (): boolean {
|
isShellIntegrationSupported (): boolean {
|
||||||
|
Loading…
Reference in New Issue
Block a user