Tim created MYNEWT-361:
--------------------------
Summary: Consecutive commands not run in terminal
Key: MYNEWT-361
URL: https://issues.apache.org/jira/browse/MYNEWT-361
Project: Mynewt
Issue Type: Bug
Components: Newt
Affects Versions: v0_9_0
Environment: Ubuntu 14.10 using the Docker version of newt
Reporter: Tim
Assignee: Sterling Hughes
Priority: Minor
Basically, paste a few newt commands into a terminal, like this:
newt target create nrf52_boot
newt target set nrf52_boot app=@apache-mynewt-core/apps/boot
newt target set nrf52_boot bsp=@apache-mynewt-core/hw/bsp/nrf52dk
newt target set nrf52_boot build_profile=optimized
My expected behaviour is that each one executes after the previous one has
finished. What actually happens is that only the first commands execute. The
others don't do anything (not even an error).
You can actually see this easier like this:
newt target show
newt target show
vs
newt target show && newt target show
If I paste this it works as expected, so I'm not sure what newt does
differently (does it fork and run in the background or something weird?)
sleep 1
ls
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)