Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007088OCamlotherlibspublic2015-12-13 19:022017-04-13 13:14
ReporterChristophe Troestler 
Assigned To 
PrioritynormalSeverityminorReproducibilityN/A
StatusacknowledgedResolutionopen 
Platformx86_64OSWindowsOS Version
Product Version4.02.3 
Target VersionFixed in Version 
Summary0007088: Unix.system (Win) should report when cmd.exe is not found
DescriptionThe API call system┬╣ documentation says "If the command interpreter is not found, returns 0 and sets errno to ENOENT." It seems that this behavior is not taken into account by the C function win_system.

┬╣ https://msdn.microsoft.com/en-us/library/277bwbdz.aspx [^]
Additional InformationSee https://github.com/ocaml/ocaml/pull/349 [^]
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0017739)
doligez (administrator)
2017-04-13 13:14

Note that the Microsoft documentation referenced above is self-contradictory: it says the return value will be both 0 and -1 when `cmd.exe` is not found.

- Issue History
Date Modified Username Field Change
2015-12-13 19:02 Christophe Troestler New Issue
2017-02-23 16:42 doligez Category OCaml otherlibs => otherlibs
2017-04-13 13:12 doligez Severity feature => minor
2017-04-13 13:12 doligez Status new => acknowledged
2017-04-13 13:12 doligez OS GNU/Linux => Windows
2017-04-13 13:12 doligez OS Version Debian testing =>
2017-04-13 13:14 doligez Note Added: 0017739


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker