Better HN
topnewbestaskshowjobs
Log inSign up

mattn_jp

11 karma · joined Apr 14, 2011 (15y ago) · 6 submissions

[ my public key: https://keybase.io/mattn; my proof: https://keybase.io/mattn/sigs/3zB5s_ce9aXQlaTji4GnKaLn3q3QF9-kx00MuG8UPmI ] [ my public key: https://keybase.io/mattn; my proof: https://keybase.io/mattn/sigs/3zB5s_ce9aXQlaTji4GnKaLn3q3QF9-kx00MuG8UPmI ]
Submissions

1.

VimConf 2019 Videos and Photos

2 points · by mattn_jp · 6y ago · discuss

comment 9y ago · link · parent

I read the code. I don't make sure but AFAIS, elevate doesn't handle stdin/stdout/stderr, can't pass environment variable correctly. After set FOO=bar, the process can't read FOO. etc.

comment 9y ago · link · parent

If you allow you to enter a password, you can use runas.exe which is provided by Microsoft.

comment 9y ago · link · parent

Hi, all.

I'm author. I added this because I want to write hosts file with ":w !sudo tee %" from gvim.exe on Windows. But most of implementations doesn't work for this.

comment 9y ago · link · parent

runas request password. And I don't want to touch my mouse. Many of implementation doesn't handle stdin/stdout/stderr.