adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.09 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.09/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
spew has quit [Quit: Connection closed for inactivity]
oni-on-ion has quit [Ping timeout: 268 seconds]
kleisli has joined #ocaml
Haudegen has quit [Ping timeout: 260 seconds]
Haudegen has joined #ocaml
tane has quit [Quit: Leaving]
Haudegen has quit [Ping timeout: 268 seconds]
andreas303 has quit [Remote host closed the connection]
andreas303 has joined #ocaml
brettgilio has quit [Ping timeout: 260 seconds]
kleisli has quit [Ping timeout: 240 seconds]
interruptinuse has quit [Quit: ZNC - https://znc.in -- bye bye!]
interruptinuse has joined #ocaml
brettgilio has joined #ocaml
kleisli has joined #ocaml
vicfred has joined #ocaml
tormen has joined #ocaml
tormen_ has quit [Ping timeout: 260 seconds]
kleisli has quit [Ping timeout: 265 seconds]
kleisli has joined #ocaml
kleisli has quit [Ping timeout: 258 seconds]
kleisli has joined #ocaml
_whitelogger has joined #ocaml
clockish has quit [Quit: bye]
clockish has joined #ocaml
_whitelogger has joined #ocaml
ygrek has joined #ocaml
ygrek has quit [Remote host closed the connection]
ggole has joined #ocaml
bitwinery has joined #ocaml
bartholin has quit [Quit: Leaving]
bitwinery has quit [Quit: Leaving]
mbuf has joined #ocaml
gravicappa has quit [Ping timeout: 268 seconds]
kleisli has quit [Ping timeout: 258 seconds]
_whitelogger has joined #ocaml
mbuf has quit [Remote host closed the connection]
mbuf has joined #ocaml
Guest15710 has joined #ocaml
Guest15710 has quit [Ping timeout: 248 seconds]
dborisog has joined #ocaml
Guest15710 has joined #ocaml
mbuf has quit [Remote host closed the connection]
mbuf has joined #ocaml
mbuf has quit [Client Quit]
luna_is_here_ has joined #ocaml
Guest15710 has quit [Quit: WeeChat 2.6]
toppler has quit [Ping timeout: 252 seconds]
toppler has joined #ocaml
Haudegen has joined #ocaml
jnavila has joined #ocaml
troydm has quit [Ping timeout: 252 seconds]
troydm has joined #ocaml
_whitelogger has joined #ocaml
troydm has quit [Ping timeout: 260 seconds]
troydm has joined #ocaml
rjungemann__ has quit [Quit: Connection closed for inactivity]
tane has quit [Quit: Leaving]
porchetta has quit [Ping timeout: 268 seconds]
Vincent has joined #ocaml
Vincent is now known as Guest1178
Guest1178 is now known as VincentCordobes
<VincentCordobes> Hi there, not sure it's the right place to ask--I am looking for a way to lauch the $EDITOR programmatically and get back the buffer content. The pythonic way would be with the click package https://click.palletsprojects.com/en/7.x/utils/#launching-editors. How would you do that in OCaml?
gravicappa has joined #ocaml
luna_is_here_ has quit [Ping timeout: 265 seconds]
rcabaco has joined #ocaml
porchetta has joined #ocaml
jnavila has quit [Ping timeout: 260 seconds]
spew has joined #ocaml
jnavila has joined #ocaml
VincentCordobes has quit [Ping timeout: 248 seconds]
jnavila has quit [Ping timeout: 256 seconds]
VincentCordobes has joined #ocaml
VincentCordobes has quit [Ping timeout: 245 seconds]
engil has quit [Read error: Connection reset by peer]
bartholin has joined #ocaml
VincentCordobes has joined #ocaml
<def`> VincentCordobes: we do something similar here https://github.com/ocurrent/citty/blob/master/src/main.ml#L86-L114
<def`> basically reserve a temporary filename (that we will remove later), write contents to the file, find a suitable editor and launch it
Vincent has joined #ocaml
Vincent is now known as Guest99967
VincentCordobes has quit [Ping timeout: 248 seconds]
Guest99967 is now known as VincentCordobes
gareppa has joined #ocaml
gareppa has quit [Remote host closed the connection]
<VincentCordobes> def`: Nice, this is actually what I had in mind--creating a temporary file, opening it and reading it after the editor exit. Thank you a lot for the example :)
VincentCordobes has quit [Ping timeout: 248 seconds]
VincentCordobes has joined #ocaml
oni-on-ion has joined #ocaml
VincentCordobes has quit [Ping timeout: 260 seconds]
dborisog has quit [Ping timeout: 260 seconds]
VincentCordobes has joined #ocaml
brettgilio has quit [Quit: Quit]
brettgilio has joined #ocaml
oni-on-ion has quit [Remote host closed the connection]
oni-on-ion has joined #ocaml
VincentCordobes has quit [Ping timeout: 260 seconds]
brettgilio has quit [Ping timeout: 260 seconds]
kleisli has joined #ocaml
ggole has quit [Quit: Leaving]
brettgilio has joined #ocaml
brettgilio has quit [Quit: Quit]
brettgilio has joined #ocaml
zfnmxt has quit [Quit: Bye!]
kakadu_ has joined #ocaml
zfnmxt has joined #ocaml
kleisli has quit [Ping timeout: 260 seconds]
gravicappa has quit [Ping timeout: 268 seconds]
gravicappa has joined #ocaml
brettgilio has quit [Quit: Quit]
kleisli has joined #ocaml
gravicappa has quit [Ping timeout: 240 seconds]
kleisli has quit [Ping timeout: 260 seconds]
spew has quit [Quit: Connection closed for inactivity]
<companion_cube> def`: you should use a safe `with_open_out` ;)
brettgilio has joined #ocaml
Haudegen has quit [Ping timeout: 268 seconds]
kakadu_ has quit [Remote host closed the connection]
VincentCordobes has joined #ocaml