mirror of https://github.com/keeweb/keeweb.git
fix #1234 auto-type issues in xubuntu/xfce
This commit is contained in:
parent
c5c64bee20
commit
ba29687865
|
@ -221,7 +221,7 @@ const Launcher = {
|
|||
spawn(config) {
|
||||
const ts = logger.ts();
|
||||
let complete = config.complete;
|
||||
const ps = this.remReq('child_process').spawn(config.cmd, config.args);
|
||||
const ps = this.req('child_process').spawn(config.cmd, config.args);
|
||||
[ps.stdin, ps.stdout, ps.stderr].forEach(s => s.setEncoding('utf-8'));
|
||||
let stderr = '';
|
||||
let stdout = '';
|
||||
|
@ -254,12 +254,17 @@ const Launcher = {
|
|||
});
|
||||
if (config.data) {
|
||||
try {
|
||||
ps.stdin.write(config.data);
|
||||
ps.stdin.end();
|
||||
ps.stdin.end(config.data);
|
||||
} catch (e) {
|
||||
logger.error('spawn write error', e);
|
||||
}
|
||||
}
|
||||
process.nextTick(() => {
|
||||
// it should work without destroy, but a process doesn't get launched
|
||||
// xubuntu-desktop 19.04 / xfce
|
||||
// see https://github.com/keeweb/keeweb/issues/1234
|
||||
ps.stdin.destroy();
|
||||
});
|
||||
return ps;
|
||||
},
|
||||
getCookies(callback) {
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
Release notes
|
||||
-------------
|
||||
##### v1.9.1 (2019-08-20)
|
||||
##### v1.9.1 (2019-08-22)
|
||||
`-` fix #1235: custom themes loading
|
||||
`-` fix #1234 auto-type issues in xubuntu/xfce
|
||||
|
||||
##### v1.9.1 (2019-08-19)
|
||||
`-` fix #1231: tooltip arrow positioning
|
||||
|
|
Loading…
Reference in New Issue