jenkinsci / jenkinsci/durable-task-plugin

[JENKINS-25053] Record process ID of spawned process on Windows

Open
#319 5 comments 0 reactions 0 assignees View on GitHub
component:durable-task-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
30
Forks
101
PR merge metrics
No merged PRs in 30d

Description

Follow-up to JENKINS-22249">JENKINS-22249 for WindowsBatchScript.

http://serverfault.com/questions/126502/how-to-get-own-process-pid-from-the-command-prompt-in-windows/126643#126643 is the only thing I can find for Windows. Ugly!

---
Originally reported by jglick, imported from: Record process ID of spawned process on Windows


  • assignee: jglick
  • status: Open
  • priority: Major
  • component(s): durable-task-plugin
  • label(s): triaged-2018-11, windows
  • resolution: Unresolved
  • votes: 1
  • watchers: 2
  • imported: 2025-12-09

Raw content of original issue

Follow-up to JENKINS-22249 for WindowsBatchScript.

http://serverfault.com/questions/126502/how-to-get-own-process-pid-from-the-command-prompt-in-windows/126643#126643 is the only thing I can find for Windows. Ugly!

1 attachment

- [getPID.bat](https://issues.jenkins.io/secure/attachment/33536/getPID.bat)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.