<
bluestorm_>
end; exit 0 does not look that bad actually :D
<
bluestorm_>
"execvp" block the thread
<
bluestorm_>
so exit would only apply in the "error" case
<
bluestorm_>
Unix.kill looks like heavy artillery
<
mbishop>
yeah, sticking exit 0 after the end worked heh
<
mbishop>
if I exec a program that does exist, it hangs until I press enter
<
bluestorm_>
looks like you have some buffering issues
<
mbishop>
Hmm, force a flush?
<
bluestorm_>
my first idea was to add an Unix.wait ()
<
bluestorm_>
in the non-exexcping process
<
bluestorm_>
but maybe you want something asynchronous
<
mbishop>
can I just ignore the Unix.wait ()?
<
bluestorm_>
ignore (Unix.wait ()) ?
<
bluestorm_>
yes, that
_should_ wait for the subprocess to finish
<
mbishop>
it does work :)
<
bluestorm_>
i'm really not competent in system programming
<
mbishop>
Neither am I, obviously
<
mbishop>
thanks though, fixed
<
bluestorm_>
you may be intersted in the chapter from "developping applications in Objective Caml"
<
bluestorm_>
i quickly read it some time ago, and it seemed to explain the basis
<
mbishop>
Oh yeah, I was going to check that and forgot, I did go looking through the ocaml-tutorial, but I didn't find anything relevant
ser_ has joined #ocaml
bluestorm_ has quit ["Konversation terminated!"]
jeremiah has quit [Remote closed the connection]
ser_ has quit [Read error: 113 (No route to host)]
smimou has joined #ocaml
david_koontz has quit []
zvrba has joined #ocaml
jeremiah has joined #ocaml
seafood_ has joined #ocaml
piggybox has joined #ocaml
piggybox_ has joined #ocaml
thermoplyae has left #ocaml []
smimou has quit ["bli"]
Torment has joined #ocaml
ser_ has joined #ocaml
Jedai has quit [Read error: 110 (Connection timed out)]
piggybox has quit [Connection timed out]
seafood_ has quit []
seafood_ has joined #ocaml
seafood_ has quit [Client Quit]
Jedai has joined #ocaml
seafood_ has joined #ocaml
seafood_ has quit [Client Quit]
ser_ has quit [Remote closed the connection]
seafood_ has joined #ocaml
piggybox__ has joined #ocaml
Torment has quit [Read error: 110 (Connection timed out)]
seafood_ has quit [Read error: 110 (Connection timed out)]
piggybox_ has quit [Connection timed out]
szsz has quit [Read error: 104 (Connection reset by peer)]
seafood_ has joined #ocaml
seafood_ has quit [Client Quit]
<
mbishop>
I have "open Unix" in a file, and try to call stdout, but it uses Unix.file_descr instead of out_channel
<
mbishop>
is there a way to make it use the out_channel stdout from Pervasives instead of the one from the Unix module?
szsz has joined #ocaml
szs1 has joined #ocaml
szsz has quit [Remote closed the connection]
jlouis_ has joined #ocaml
nuncanada has quit ["Leaving"]
szs1 has left #ocaml []
sergez has joined #ocaml
sergez has left #ocaml []
sergez has joined #ocaml
jlouis has quit [Read error: 110 (Connection timed out)]
mvitale_ has quit [Read error: 110 (Connection timed out)]
Torment has joined #ocaml
psnively has joined #ocaml
<
flux>
mbishop, Pervasives.stdout
<
mbishop>
yeah, I figured that out a while ago
<
mbishop>
thanks though :P
Jedai has quit [Read error: 110 (Connection timed out)]
psnively has quit []
buluca has joined #ocaml
Jedai has joined #ocaml
Torment has quit [Connection timed out]
bluestorm_ has joined #ocaml
Torment has joined #ocaml
Torment has quit [Client Quit]
Jedai has quit [Read error: 110 (Connection timed out)]
buluca has quit ["Leaving."]
buluca has joined #ocaml
asmanur has joined #ocaml
Tetsuo has joined #ocaml
the_dormant has joined #ocaml
the_dormant has quit [Client Quit]
the_dormant has joined #ocaml
screwt889 has quit [Read error: 104 (Connection reset by peer)]
Abo-Marwan68 has quit [Read error: 104 (Connection reset by peer)]
ita has joined #ocaml
mulander has joined #ocaml
EliasAmaral has joined #ocaml
Abo-Marwan68 has joined #ocaml
Tetsuo has quit ["Leaving"]
Yoric[DT] has joined #ocaml
<
Yoric[DT]>
Hola / bonjour
rwmjones has joined #ocaml
screwt889 has joined #ocaml
rwmjones has quit ["Closed connection"]
jlouis has joined #ocaml
EliasAmaral has quit [Read error: 110 (Connection timed out)]
EliasAmaral has joined #ocaml
jlouis__ has joined #ocaml
jlouis_ has quit [Read error: 110 (Connection timed out)]
jlouis has quit [Read error: 110 (Connection timed out)]
bzzbzz has joined #ocaml
rwmjones has joined #ocaml
smimou has joined #ocaml
mvitale_ has joined #ocaml
EliasAmaral has quit [Read error: 110 (Connection timed out)]
Tetsuo has joined #ocaml
malc_ has joined #ocaml
the_dormant has quit []
the_dormant has joined #ocaml
malc_ has quit ["leaving"]
jedai has joined #ocaml
jlouis has joined #ocaml
rwmjones has quit [Remote closed the connection]
jlouis__ has quit [Read error: 110 (Connection timed out)]
rwmjones has joined #ocaml
mrsolo has joined #ocaml
the_dormant has quit [Read error: 113 (No route to host)]
the_dormant has joined #ocaml
pango_ has quit [Remote closed the connection]
<
gim>
maybe someone know how to resolve a 'Error on dynamically loaded library: dllunix.dll: Le module spécifié est introuvable' on windows ?
pango_ has joined #ocaml
buluca has quit [Read error: 113 (No route to host)]
<
flux>
I know nothing of windows, but the obvious missing piece of information is: do you have dllunix.dll around, and if so, where?
<
gim>
i got this message when i try to do bytecode compilation
<
gim>
yes i have it, but i can't find the way to specify it's location
<
flux>
what kind of ocamlc-binaries you have?
<
flux>
perhaps you can use the natively compiled ocamlc-compiler
<
gim>
i'm trying to compile something which uses lablgtk2 on windows with cygwin and ocamlmgw
<
bluestorm_>
you got the error while compiling
<
bluestorm_>
or when running the procuded binary ?
<
gim>
at compile time
<
bluestorm_>
i'm afraid i can't help you
<
bluestorm_>
windows-fu is too far way
<
gim>
well i guess i'll give up for today...
<
gim>
it's just crazy...
<
gim>
and i didn't even tried to have lablgtksourceview work as well :/
<
gim>
thanks anyway, bye :)
crathman has joined #ocaml
|Jedai| has joined #ocaml
_Jedai_ has joined #ocaml
jedai has quit [Connection timed out]
|Jedai| has quit [Connection timed out]
Tetsuo has quit ["Leaving"]
Tetsuo has joined #ocaml
Yoric[DT] has quit ["Ex-Chat"]
mrsolo has quit ["This computer has gone to sleep"]
the_dormant has quit []
Demitar has quit [Read error: 110 (Connection timed out)]
crathman_ has joined #ocaml
crathman has quit [Read error: 110 (Connection timed out)]
crathman_ is now known as crathman
bluestorm_ has quit ["Konversation terminated!"]
jeremiah has quit [Remote closed the connection]
jeremiah has joined #ocaml
mrsolo has joined #ocaml
Demitar has joined #ocaml
ygrek has joined #ocaml
thermoplyae has joined #ocaml
kelaouchi has joined #ocaml
crathman has quit ["ChatZilla 0.9.78.1 [Firefox 2.0.0.8/2007100816]"]
asmanur has quit [Read error: 104 (Connection reset by peer)]
asmanur has joined #ocaml
ygrek has quit [Remote closed the connection]
ygrek has joined #ocaml
Yoric[DT] has joined #ocaml
thermoplyae has quit ["daddy's in space"]
mulander has quit [Remote closed the connection]
Tetsuo has quit ["Leaving"]
bluestorm_ has joined #ocaml
asmanur has quit [Remote closed the connection]
ygrek has quit [Remote closed the connection]
david_koontz has joined #ocaml
david_koontz has quit [Client Quit]
_Jedai_ is now known as jedai
Mr_Awesome has quit ["aunt jemima is the devil!"]
the_dormant has joined #ocaml