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:
parent
4564b451c8
commit
ef1366ef7f
@ -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')
|
||||
}
|
||||
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user