Skip to content

Commit dc51479

Browse files
committed
Sleep for 10 seconds instead, don't bg
1 parent 3786b97 commit dc51479

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/platform/update/electron-main/updateService.linux.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export class LinuxUpdateService extends AbstractUpdateService {
108108
this.logService.trace('update#quitAndInstall(): running raw#quitAndInstall()');
109109

110110
// Allow 3 seconds for VS Code to close
111-
spawn('bash', ['-c', `'sleep 3; /snap/${product.applicationName}/current &'`], {
111+
spawn('bash', ['-c', `'sleep 10; /snap/${product.applicationName}/current'`], {
112112
detached: true,
113113
stdio: ['ignore', 'ignore', 'ignore']
114114
});

0 commit comments

Comments
 (0)