[
https://issues.apache.org/jira/browse/MYNEWT-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15433631#comment-15433631
]
Christopher Collins commented on MYNEWT-361:
--------------------------------------------
I don't see this issue when using newt natively (not dockerized) on OS X
10.11.5. The below excerpt looks a bit odd because the bash prompt gets
printed while the clipboard contents are being pasted:
{noformat}
[ccollins@ccollins-mac:~/repos/mynewt/core]$ newt target create nrf52_boot
Target targets/nrf52_boot successfully created
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[ccollins@ccollins-mac:~/repos/mynewt/core]$ newt target
set nrf52_boot app=@apache-mynewt-core/apps/boot
Target targets/nrf52_boot successfully set target.app to
@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[ccollins@ccollins-mac:~/repos/mynewt/core]$ newt target
set nrf52_boot bsp=@apache-mynewt-core/hw/bsp/nrf52dk
Target targets/nrf52_boot successfully set target.bsp to
@apache-mynewt-core/hw/bsp/nrf52dk
newt target set nrf52_boot
build_profile=optimized[ccollins@ccollins-mac:~/repos/mynewt/core]$ newt target
set nrf52_boot build_profile=optimized
Target targets/nrf52_boot successfully set target.build_profile to optimized
[ccollins@ccollins-mac:~/repos/mynewt/core]$ newt target show nrf52_boot
targets/nrf52_boot
app=@apache-mynewt-core/apps/boot
bsp=@apache-mynewt-core/hw/bsp/nrf52dk
build_profile=optimized
{noformat}
I'll see if I get the incorrect behavior in Ubuntu + docker.
> 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: Christopher Collins
> Priority: Minor
> Fix For: v1_0_0_beta1
>
>
> 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)