I am trying to use a Ruby gem called shotgun that requires fork(2) command which I discovered is aa Linux command, and might be available in Cygwin. Is it possible to make it available through Windows command shell?
Running fork(2) from Windows with Cygwin. Possible?
2.5k Views Asked by picardo At
1
There are 1 best solutions below
Related Questions in WINDOWS
- how to play a sounds in c# forms?
- Echo behaviour of Microsoft Windows Telnet Client
- Getting error while running spark-shell on my system; pyspark is running fine
- DirectX 9 With No SDK Installed - How To Translate a D3DMATRIX?
- Gradle 8.7 cannot find installed JDK 22 in IntelliJ
- 'IOException: The cloud file provider is not running', when trying to delete 'cloud' folder
- Cannot load modules/mod_dav_svn.so into server
- Issue with launching application after updating ElectronJs to version 28.0.0 on Windows and Linux
- 32-bit applications do not display some files in Windows 10
- 'bun' is not recognized as an internal or external command
- mkssecreenshotmgr taking a screenshot
- Next js installation in windows 7 os
- Can't resize a partition using Mini Tool?
- Is there any way to set a printer as default according with Active Directory Policy Security Group and PC hostname?
- Electron Printing not working on Windows (Works on Mac)
Related Questions in RUBY
- how to integrate cashfree payment gateway in ruby on rails project
- RSpec Capybara throwing Selenium error when trying to click a button with browser confirm
- Duplicate GET requests - Rails & Heroku
- convert csv file with json data inside to a column, rows table in 2nd csv file
- Installing dependencies from a gemspec file
- Verifying Google Identity OAuth2 token with Ruby
- Java code of AES/GCM/NoPadding encryption algorithm with authentication tag
- How to fix error in model with gem lockbox
- Cannot install Ruby Gem on Window
- use logstash filter ,aes gcm encrypted in ruby,but cannot decrypted in java
- In Rails 7, what is the right ActiveRecord callback to use if I need to prevent (or rollback) persistance on error?
- How can I go through an array and still remove elements from it
- Nokogiri only returning 5 results
- How do I get the fullscreen mode in firefox?
- undefined group option when using branch reset group regex in Ruby
Related Questions in LINUX
- Is there some way to use printf to print a horizontal list of decrementing hex digits in NASM assembly on Linux
- Why does Hugo generate different taxonomy-related HTML on different OS's?
- Writes in io_uring do not advance the file offset
- Why `set -o pipefail` gives different output even though the pipe is not failing
- what really controls the permissions: UID or eUID?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Docker container unable to make HTTPS requests to external API
- Whow to use callback_query_handler in Python 3.10
- Create kea runtime directory at startup in Yocto image
- Problem on CPU scheduling algorithms in OS
- How to copy files into the singularity sandbox?
- Android kernel error: undefined reference to `get_hw_version_platform'
- Is there a need for BPF Linux namespace?
- Error when trying to execute a binary compiled in a Kali Linux machine on an Ubuntu system
- Issue with launching application after updating ElectronJs to version 28.0.0 on Windows and Linux
Related Questions in CYGWIN
- "Config.guess failed to determine the host type" when trying build binutils-2.7 with Cygwin
- Installing the C compiler for LC3
- On cygwin I get errors containing -lintl and -liconv when running gcc
- Compile latest openssl with mingw64 within cygwin on Windows 11 vs install prefix path definition
- jq: C:/cygwin64/bin/jq.exe: error while loading shared libraries: ?: cannot open shared object
- I compiled LibreOffice on Windows using Cygwin, but after running 'C:/cygwin64/opt/lo/bin/make', I encountered numerous errors
- Install SoC EDS and create .o file using Cygwin
- What is ".cygwin" extension file? I can't get any result from Google&Bing SEs and file-ext.org
- Hive schematool Could not find or load main class PC"
- Scipy in Cygwin
- Error installing package in Octave Portable on Windows 10
- What is the latest version of Cygwin's Setup that will run in Windows 7?
- Issues with conda activate and deactivate in Cygwin
- Installing TreeTagger on Windows with Cygewin to use with Python
- SDL3 CMake linkage problem undefined reference for SDL
Related Questions in SHOTGUN
- Projectile shotgun in unity: inconsistent spread
- Find and get last link animation attachement mov in python
- Unity 2D Shotgun shoot not working when eulerangles is 180
- Shotgun returns ArgumentError since upgrade to ruby 3
- Issue with Shotgun Gem in Ruby
- Shotgun sinatra session[:value] not avaiable in different routes
- Sinatra app throws error when not using Shotgun
- "shotgun" command prompt Ruby - "No such file or directory - uname (Errno::ENOENT)"
- Getting Error while creating status in shotgun using python shotgun api
- How can I integrated Shotgun api and Javascript webview?
- Virtual Box port forwarding misery with Ruby Sinatra:4567 / Shotgun:9292
- Sinatra app - Shotgun don't work - "cannot load such file -- rack/commonlogger (LoadError)"
- Are the webserver code names auto generated by shotgun (sinatra)?
- Sinatra Boot Error, Cannot load such file
- Ruby shotgun debugging configuration in Intellij
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
fork(2)is kludgey under Cygwin, as the Windows process model does not easily allow it to happen. Cygwin may allow its spawn to use it, but you're going to suffer a serious performance hit as Cygwin has to emulate everything by hand -- including copying the executable data, copying the open handles, etc.Depending on how much shotgun uses
fork(2), this emulation could be painful or it could be relatively minor.Here's a good thread on GameDev.net discussing the lack of a
forkfacility on Win32. They bring up something which I don't have the patience or platform accessibility to investigate, but certainly sounds fun, dangerous, and explosive all at the same time:I'm intrigued, but I doubt Cygwin uses it. It's probably there, to reiterate my answer to your question -- a lot of Unix apps rely on
fork, and Cygwin likely makes it available. Just don't expect miracles, and you'll have to make Ruby aware of Cygwin by recompiling it to include its emulation layer.