Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12993

--fork option will make mongod fail on windows

      Description

      Microsoft Windows [Version 10.0.18362.295]
      (c) 2019 Microsoft Corporation. All rights reserved.

      C:\Users\joe>mongod --version
      db version v4.2.0
      git version: a4b751dcf51dd249c5865812b390cfd1c0129c30
      allocator: tcmalloc
      modules: none
      build environment:
      distmod: 2012plus
      distarch: x86_64
      target_arch: x86_64

      C:\Users\joe>mongod --fork
      Error parsing command line: unrecognised option '--fork'
      try 'mongod --help' for more information

      C:\Users\joe>

       

      Should just ignore this option on windows for script compatibility.

       

      Scope of changes

      • Update the --fork documentation to note that the option is not supported in Windows.
      • Can borrow language from --syslog

      Backport to 3.2

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

            Assignee:
            nathan.contino@mongodb.com Nathan Contino (Inactive)
            Reporter:
            joe.drumgoole@mongodb.com Joe Drumgoole (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              4 years, 30 weeks, 2 days ago