ERROR: Specified cwd '28830"' either not absolute or does not exist
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 15.7k
- Forks
- 5.6k
- Avg merge
- 2d 44m
- Merged PRs (30d)
- 80
Description
Description of Issue
When i want to kill the PID,but the command return this message for me "ERROR: Specified cwd '28830"' either not absolute or does not exist"
And, i had checked this PID exists and absolute.
String command = "salt Centos76-247-45 cmd.run \"kill 28830\"";
Process process = Runtime.getRuntime().exec(command);
process.waitFor();
The Linux return:
Centos76-247-45:
ERROR: Specified cwd '28830"' either not absolute or does not exist
Could you tell me how to reolve it,please.
# salt-run manage.versions
Master:
2017.7.4
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the salt Centos76-247-45 cmd.run "kill 28830" invocation and the Java Runtime.getRuntime().exec call, then inspect how command arguments and quoting are parsed. Compare the behavior with the reported Salt 2017.7.4 output; done means identifying whether the failure is in Salt or Java invocation handling and documenting a verified resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, python
- Domain
- backend, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100