[ros2run] Argument passing to node executable handles -- inconsistently
I maintainer di solito rispondono entro 1 giorno
@mabelzhang ci sta già lavorando.
Dal 9/3/2021.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Bug report
Required Info:
- Operating System:
- Ubuntu 20.04.1 LTS
- Installation type:
- binaries
- Version or commit hash:
- Version 0.9.7
- DDS implementation:
- Fast-RTPS
- Client library (if applicable):
- N/A
Steps to reproduce issue
I created a small reproduction repo over at ros2run_arg_test.
It contains one small script which just prints the number of arguments and all arguments it received.
With this:
ros2 run ros2run_arg_test echo_args.sh foo -- bar
ros2 run ros2run_arg_test echo_args.sh -- foo bar
Expected behavior
Number: 3
Arguments: foo -- bar
Number: 3
Arguments: -- foo bar
Actual behavior
- correct
Number: 3
Arguments: foo -- bar
- Unexpected, the
--gets discarded silently:
Number: 2
Arguments: foo bar
Additional information
I discovered this over at micro_ros_setup.
I am not completely sure if this is a bug, but i couldn't find any mention of this behavior in this design document or anywhere else.
Please let me know if this is expected behavior, in that case this should probably get documented somewhere and i'd have to think of a new syntax.
Related: #61 added the option to pass arguments without leading --.
- Lingua principale
- Python
- Stelle
- 274
- Fork
- 246
- Merge medio
- 1g 14h
- PR unite (30g)
- 12
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ros2/ros2cli
-
ros2 CLI prints BrokenPipeError traceback when output is piped to a command that exits early (e.g. head)Forse di nuovo libera @akshat-lakhera l’ha presa 38 giorni fa e non c’è nessuna pull request aperta. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
ros2/ros2cli#1342 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Add --timeout alias to ros2 topic pub and ros2 param listForse già presa @1cbyc l’ha presa 63 giorni fa. Apertagood first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
ros2/ros2cli#1305 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
ros2doctor: UserWarning: Fail to call PackageReport/RosdistroReport class functions.Forse già presa @sujanchalla0510 l’ha presa 13 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 20/100
I maintainer di solito rispondono entro 1 giorno
-
Add --all alias to commands that include hidden nodes, topics, or servicesForse già presa @Rajat-Arora l’ha presa 62 giorni fa. Apertagood first issue
Difficoltà 3/5 1-2 giorni Idoneità per principianti 78/100
ros2/ros2cli#1302 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
ros2run python script without extension .py fails on windows + pixiForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertabug more-information-needed
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
ros2/ros2cli#1301 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di ros2/ros2cli
Issue simili
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
gke-labs/kube-agents#7441 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno
-
issue: a reply cut off by a dropped model connection loses its text when the chat is reloadedApertabug confirmed issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
open-webui/open-webui#35142 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno