mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #1046] file path with spaces not supported. (bash: /mnt/d/java: No such file or directory) #607
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#607
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sijmenvb on GitHub (Mar 16, 2022).
Original GitHub issue: https://github.com/nektos/act/issues/1046
i keep getting the following error
bash: /mnt/d/java: No such file or directorythe issue seems to be the the command is
docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/d/java projects/Software Engenering/workflow/2] user=but it seems to split on the space.
Expected behaviour
I would expect the commands to have quotes for the path like so :
docker exec cmd=[bash --noprofile --norc -e -o pipefail "/mnt/d/java projects/Software Engenering/workflow/2"] user=or some replacing spaces with _ (underscores)
Actual behaviour
it does not and sees the path as only /mnt/d/java
@robertkowalski commented on GitHub (Mar 21, 2022):
using a project with spaces in the path works for me, can you provide a workflow / repository to reproduce the issue?
it would be good if you could fill out the issue template, so we can reproduce the environment, too
@ChristopherHX commented on GitHub (Mar 23, 2022):
This specfic issue has been fixed in https://github.com/nektos/act/releases/tag/v0.2.26.
By creating the script files in a container directory without spaces.
Could still cause problems if act starts supporting non container scenarios. Seems like we have a lack of test cases about the
shelloption of act, the action/runner might have similar problems.@github-actions[bot] commented on GitHub (Apr 23, 2022):
Issue is stale and will be closed in 14 days unless there is new activity