Closed matthieucan closed 6 years ago
Agreed, as it could also be easily implemented:
start
is an integer, then its a bundle ID (bundle names can't start with a digit)install+start
Fixed. You can now use both methods:
$ install pelix.http.basic
Bundle ID: 14
$ start $?
Starting bundle 14 (pelix.http.basic)...
and
$ start pelix.http.basic
Bundle ID: 14
Starting bundle 14 (pelix.http.basic)...
Note: The $?
variable is not set by start
as it accepts multiple IDs at once.
It is therefore recommended to use install
in init scripts if you want to keep track of bundle IDs.
Wow, that was fast :) Thanks a lot!
Some tests must be updated after this change
In the Pelix shell, I often find myself running
install foo
andstart bar
,bar
being the bundle id offoo
. A command to install+start would surely be useful!