havenwood changed the topic of #ruby to: Ruby 3.4.2, 3.3.7 https://www.ruby-lang.org | Log https://libera.irclog.whitequark.org/ruby
cappy has quit [Quit: Leaving]
Thanzex02 has quit [Ping timeout: 244 seconds]
Thanzex02 has joined #ruby
hwpplayer1 has joined #ruby
donofrio has joined #ruby
dionysus69 has joined #ruby
hwpplayer1 has quit [Remote host closed the connection]
hwpplayer1 has joined #ruby
wbooze has quit [Quit: Leaving]
hwpplayer1 has quit [Remote host closed the connection]
hwpplayer1 has joined #ruby
jmcantrell has joined #ruby
hwpplayer1 has quit [Remote host closed the connection]
STASIdownunder has joined #ruby
STASIdownunder has quit [Read error: Connection reset by peer]
carlomonte_ has joined #ruby
carlomonte has quit [Ping timeout: 244 seconds]
<nakilon> I had some weird hanging with "r, w = IO.pipe", at least on Ubuntu
<nakilon> some weird buffering
jmcantrell has quit [Quit: WeeChat 4.5.2]
Vonter has quit [Ping timeout: 252 seconds]
STASIdownunder has joined #ruby
gemmaro has quit [Ping timeout: 252 seconds]
gemmaro_ has joined #ruby
STASIdownunder has quit [Read error: Connection reset by peer]
<havenwood> nakilon: You might want to set `r.sync = true` and `w.sync = true` to prevent buffering. The block form is nice, for self closing: IO.pipe do |r, w|
<havenwood> Here's an IO.unbuffered_pipe refinement for the heck of it: https://gist.github.com/havenwood/bc9fc32432269cf172a855ef83deeb81
dionysus69 has quit [Ping timeout: 260 seconds]
STASIdownunder has joined #ruby
STASIdownunder has quit [Read error: Connection reset by peer]
grenierm has joined #ruby
STASIdownunder has joined #ruby
STASIdownunder has quit [Read error: Connection reset by peer]
<nakilon> IIRC sync didn't help
<nakilon> or maybe I didn't try sync, I don't remember, it's not mentioned in my SO comments
<nakilon> the issue was I could not read the cucumber output, it was stuck for some reason from the very first byte
<nakilon> anyway I just threw out the cucumber, and the issue is gone ..D
<nakilon> the issue was id didn't allow me to read the ourput until I write anything to the input
<nakilon> while the command itself (bundle exec cucumber ...) wasn't accepting anything, it was just a listing
<nakilon> *it didn't
STASIdownunder has joined #ruby
STASIdownunder has quit [Read error: Connection reset by peer]
jhass has quit [Remote host closed the connection]
grenierm has quit [Ping timeout: 240 seconds]
carlomonte_ is now known as carlomonte
andy-turner has joined #ruby
jhass has joined #ruby
STASIdownunder has joined #ruby
STASIdownunder has quit [Client Quit]
GreenResponse has joined #ruby
STASIdownunder has joined #ruby
STASIdownunder has quit [Client Quit]
mweckbecker has quit [Remote host closed the connection]
mweckbecker has joined #ruby
dionysus69 has joined #ruby
CRISPR has joined #ruby
STASIdownunder has joined #ruby
STASIdownunder has quit [Ping timeout: 252 seconds]
crespire has joined #ruby
CRISPR has quit [Ping timeout: 260 seconds]
BSaboia has quit [Ping timeout: 260 seconds]
BSaboia has joined #ruby
patrick has quit [Ping timeout: 244 seconds]
patrick_ is now known as patrick
<o0x1eef> nakilon: https://github.com/0x1eef/test-cmd.rb/blob/main/lib/test/cmd.rb#L171-L181 | https://github.com/0x1eef/test-cmd.rb/blob/main/lib/test/cmd.rb#L191-L199 - you could try that, there is not a program I came across yet where it didn't work
<o0x1eef> Speaking of closing, looks I forgot to add it
<o0x1eef> Oh, no, nevermind. I do close.
patrick_ has joined #ruby
patrick has joined #ruby
patrick has quit [Changing host]
patrick_ is now known as patrick
patrick_ has joined #ruby
dionysus69 has quit [Ping timeout: 252 seconds]
jhass has quit [Remote host closed the connection]
eddof13 has joined #ruby
Munto has quit [Quit: Leaving]
jhass has joined #ruby
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
eddof13 has quit [Quit: eddof13]
user71 has joined #ruby
Milos has quit [Quit: ZNC 1.9.1 - https://znc.in]
Milos has joined #ruby
eddof13 has joined #ruby
eddof13 has quit [Client Quit]
brokkoli_origin has quit [Ping timeout: 252 seconds]
brokkoli_origin has joined #ruby
dionysus69 has joined #ruby
victori has quit [Remote host closed the connection]
eddof13 has joined #ruby
eddof13 has quit [Quit: eddof13]
LainExperiments has joined #ruby
LainExperiments9 has joined #ruby
rdsm has quit [Quit: ZNC 1.9.0+deb2ubuntu0.1~esm2 - https://znc.in]
rdsm has joined #ruby
rdsm has quit [Remote host closed the connection]
rdsm has joined #ruby
LainExperiments has quit [Ping timeout: 240 seconds]
LainExperiments9 has quit [Ping timeout: 240 seconds]
matoro has quit [Ping timeout: 260 seconds]
Sheilong has joined #ruby
CRISPR has joined #ruby
LainExperiments has joined #ruby
LainExperiments7 has joined #ruby
LainExperiments has quit [Ping timeout: 240 seconds]
LainExperiments7 has quit [Ping timeout: 240 seconds]
LainExperiments has joined #ruby
jasfloss has quit [Ping timeout: 260 seconds]
wbooze has joined #ruby
fantazo has joined #ruby
CRISPR has quit [Ping timeout: 252 seconds]
jasfloss has joined #ruby
andy-turner has quit [Quit: Leaving]
victori has joined #ruby
GreenResponse has quit [Quit: Leaving]
carlomonte has quit [Quit: carlomonte]
wbooze has quit [Ping timeout: 252 seconds]
user71 has quit [Quit: Leaving]
LainExperiments has quit [Quit: Client closed]
dionysus69 has quit [Quit: dionysus69]
STASIdownunder_ has joined #ruby
mange has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
Munto has joined #ruby
Sheilong has quit [Quit: Connection closed for inactivity]
STASIdownunder_ has quit [Quit: WeeChat 4.4.3]