<madprops>
so to get the wait_thr i need popen3 instead of capture3 (it seems). but seems the only way to feed it stdin is wtih the callback, stdin.write(s) but now the information is not shown instantly upon starting the command
jpn has joined #ruby
jpn has quit [Ping timeout: 252 seconds]
_ht has quit [Remote host closed the connection]
Manouchehri has joined #ruby
jpn has joined #ruby
jpn has quit [Ping timeout: 252 seconds]
tonytonyjan has joined #ruby
tonytonyjan has quit [Client Quit]
tonytonyjan has joined #ruby
tonytonyjan has quit [Client Quit]
dionysus69 has joined #ruby
tonytonyjan has joined #ruby
ur5us has quit [Ping timeout: 255 seconds]
jpn has joined #ruby
Sankalp has quit [Ping timeout: 268 seconds]
Sankalp has joined #ruby
ur5us has joined #ruby
gr33n7007h has quit [Quit: WeeChat 3.6]
gr33n7007h has joined #ruby
walez has joined #ruby
jpn has quit [Ping timeout: 268 seconds]
protektwar has joined #ruby
protektwar has quit [Changing host]
protektwar has joined #ruby
protektwar has quit [Remote host closed the connection]
protektwar has joined #ruby
protektwar has quit [Changing host]
protektwar has joined #ruby
Aminda has quit [Remote host closed the connection]
Aminda has joined #ruby
protektwar has quit [Remote host closed the connection]
protektwar has joined #ruby
protektwar has quit [Changing host]
protektwar has joined #ruby
protektwar has quit [Remote host closed the connection]
Manouchehri has quit [Quit: Connection closed for inactivity]
protektwar has joined #ruby
protektwar has quit [Changing host]
protektwar has joined #ruby
jpn has joined #ruby
protektwar has quit [Remote host closed the connection]
protektwar has joined #ruby
protektwar has quit [Changing host]
protektwar has joined #ruby
protektwar has quit [Remote host closed the connection]
ur5us has quit [Ping timeout: 255 seconds]
protektwar has joined #ruby
protektwar has quit [Changing host]
protektwar has joined #ruby
yxhuvud has quit [Read error: Connection reset by peer]
yxhuvud has joined #ruby
ur5us has joined #ruby
oxfuxxx has joined #ruby
artemis has joined #ruby
oxfuxxx has quit [Ping timeout: 244 seconds]
artemis has quit [Ping timeout: 255 seconds]
protektwar has quit [Remote host closed the connection]
mikecmpbll has quit [Ping timeout: 255 seconds]
ur5us has quit [Ping timeout: 244 seconds]
walez has quit [Ping timeout: 252 seconds]
desnudopenguino has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby
desnudopenguino has joined #ruby
ur5us has joined #ruby
ur5us has quit [Ping timeout: 244 seconds]
mdemo has joined #ruby
protektwar has joined #ruby
protektwar has quit [Changing host]
protektwar has joined #ruby
protektwar has quit [Remote host closed the connection]
protektwar has joined #ruby
protektwar has quit [Changing host]
protektwar has joined #ruby
protektwar has quit [Remote host closed the connection]
protektwar has joined #ruby
protektwar has quit [Changing host]
protektwar has joined #ruby
oxfuxxx has joined #ruby
<madprops>
what's the deal with top 2 ruby extensions on vscode
<madprops>
they point to the same repo
<madprops>
but are made by 2 different people
<madprops>
one by Peng Lv and the other by Stafford Brunk
dionysus69 has quit [Ping timeout: 252 seconds]
artemis has joined #ruby
yxhuvud has quit [Read error: Connection reset by peer]
oxfuxxx has quit [Ping timeout: 255 seconds]
yxhuvud has joined #ruby
c10l has quit [Quit: See ya! o/]
<adam12>
madprops: Hard to say about your popen3 without seeing the source code.
<adam12>
I guess you could create a pipe for stdin. Pass the reader side of the pipe to popen3. Write your pre-load data into the writable side of the pipe, then spawn a thread that reads from $stdin and writes to the writable side of the buffer.
<adam12>
s/buffer/pipe
<adam12>
then just wait for thread exit?
<madprops>
adam12, turns out it was a rofi thing. If I add the option -selected-row 0 to it, it loads instantly. Not sure why
<adam12>
madprops: Weird. And everything else works as expeted?