Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I upload a packaging file in Windows, ProcessBuilder cannot find the file. #109

Open
JoHyoju04 opened this issue Aug 31, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@JoHyoju04
Copy link

JoHyoju04 commented Aug 31, 2021

Describe the bug
When I upload a packaging file in Windows, ProcessBuilder cannot find the file.

To Reproduce
1.Project List-> Packaging column
2. Upload OSS Package

Expected behavior
a file is uploaded normally.

Screenshots
image
image

System Environment (please complete the following information):

  • Browser : chrome
  • os : windows

Additional context
I looked up the problem and found that /bin/bash doesn't exist on Windows.
I try replaced /bin/bash with cmd.exe, and replacing the switch -c with /c.
However, modifications do not solve the problem.

@JoHyoju04 JoHyoju04 added the bug Something isn't working label Aug 31, 2021
@soimkim
Copy link
Contributor

soimkim commented Sep 1, 2021

@JoHyoju04 , Thanks for reporting the error.

The shellCommand is called as Runtime.getRuntime().exec, so it should be executed regardless of OS. So even if you change it to cmd.exe, the error may have occurred.

I am wondering how to fix it.
Should I guide bash with pre-installation on windows....🤔

@JoHyoju04
Copy link
Author

I'll check it carefully.
thanks for commenting the error.

@JoHyoju04 JoHyoju04 changed the title When I upload a packing file in Windows, ProcessBuilder cannot find the file. When I upload a packaging file in Windows, ProcessBuilder cannot find the file. Oct 13, 2021
@github-actions
Copy link

This has been automatically marked as stale because it hasn't had any recent activity.
It will be closed in 5 days if no further activity occurs.

@github-actions github-actions bot added the stale label Oct 28, 2022
@soimkim soimkim removed the stale label Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants