haskell / haskell/process

Show instance for System.Process.CreateProcess and CmdSpec

Open
#54 6 comments 1 reaction 0 assignees View on GitHub
Dominant language
Haskell
Stars
91
Forks
91
PR merge metrics
No merged PRs in 30d

Description

Looking at the source there doesn't seem to be any particular reason to omit Show. My best guess is that it's since some details are platform dependent, but since Show is basically for debugging, it doesn't seem like a blocker.

Also it would be nice to be able to get a PID from a ProcessHandle. I notice this one is more heavily system specific and it has an awkward mvar but it would be nice to get some kind of indication about which process just died other than the name I started it with.

If there's no fundamental objection I can try a patch.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the definitions of System.Process.CreateProcess, CmdSpec, and ProcessHandle in the source, then trace the platform-specific process-handling code. Confirm how Show output can remain useful across platforms and how a process identifier could be exposed; done means the requested information is available without relying only on the started process name.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.