mirror of
https://github.com/Eugeny/tabby.git
synced 2025-04-06 16:00:28 +08:00
properly pass cwd from a second instance
This commit is contained in:
parent
5fe71b8169
commit
6b49cdc974
@ -32,7 +32,7 @@ process.on('uncaughtException' as any, err => {
|
||||
})
|
||||
|
||||
app.on('second-instance', (_event, argv, cwd) => {
|
||||
application.send('host:second-instance', parseArgs(argv, cwd))
|
||||
application.send('host:second-instance', parseArgs(argv, cwd), cwd)
|
||||
})
|
||||
|
||||
const argv = parseArgs(process.argv, process.cwd())
|
||||
|
Loading…
x
Reference in New Issue
Block a user