apx icon indicating copy to clipboard operation
apx copied to clipboard

Unable to run custom commands inside of sub systems with Orchid.

Open 103sbavert opened this issue 1 year ago • 2 comments

When I run apx <subsystem> run <command> {--flags}, it doesn't seem to parse the flags correctly and using quotes, double or single, doesn't help at all.

In particular, while trying to install yay through makepkg -si by running apx Arch run makepkg -si inside of the yay folder (cloned from AUR), it tells me -si are invalid because it thinks they're flags for apx itself and not for makepkg.

103sbavert avatar Aug 02 '24 05:08 103sbavert

Try: apx <subsystem> run -- <command> {--flags}

"--" tells apx to ignore all additional flags

taukakao avatar Aug 02 '24 13:08 taukakao

I've removed VanillaOS for the time being. If you want you can close this issue or keep it open until the parsing is fixed.

103sbavert avatar Aug 02 '24 21:08 103sbavert

seems like a duplicate of #434 and #88

I verified that using -- seems to work now

0chroma avatar Sep 23 '25 08:09 0chroma

I mean this is just the way cobra works and "--" is the solution here, so I'm closing this.

taukakao avatar Sep 23 '25 20:09 taukakao