java-native-access / java-native-access/jna

Kernel32.CreateProcess() also for Unix.

Open
#1,417 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
Java
Stars
8.9k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

The jna platform jar doesn't seem to include methods for creating processes on unix systems, but it does for windows here.
It would be great to have something similar to that also for unix.
I am a complete noob with native libraries, but I still would like to create a PR for this, so any additional information is very welcome!
It looks like there is a fork() command on unix systems to achieve this.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the referenced Kernel32.java CreateProcess implementation and compare its scope with the Unix process-creation request. Investigate how fork() would fit the proposed API and determine the Unix platforms and behavior that must be supported. Done means a reviewed, documented Unix equivalent with coverage for the supported behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.