You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 1896 Reporter: administrator Status: closed Resolution: not a bug Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
The following program does not work on Windows:
open Printf
let main =
let outchnl = Unix.open_process_out "../fpasm.exe" in
()
Unix.open_process_out reports:
"'..' is not recognized as an internal or external command,
operable program or batch file."
Which apparently comes from cmd.exe. If I replace the slash with a
backslash the open_process_out call works as expected.
Obviously I don't want to start using backslashes in my paths when
running on Windows. Could this be fixed automatically? It is my
understanding that OCaml does these conversions for some library
functions.
Best regards,
Janne Hellsten
The text was updated successfully, but these errors were encountered:
Original bug ID: 1896
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
The following program does not work on Windows:
open Printflet main =
let outchnl = Unix.open_process_out "../fpasm.exe" in
()
Unix.open_process_out reports:
"'..' is not recognized as an internal or external command,
operable program or batch file."
Which apparently comes from cmd.exe. If I replace the slash with a
backslash the open_process_out call works as expected.
Obviously I don't want to start using backslashes in my paths when
running on Windows. Could this be fixed automatically? It is my
understanding that OCaml does these conversions for some library
functions.
Best regards,
Janne Hellsten
The text was updated successfully, but these errors were encountered: