HA frozen with script

Hi! I’m using HA in its docker version for Raspberry Pi 3.

When I do run any script it freezes HA completely. I have removed the container several times and tried several images and the same thing happens.

configuration.yaml

script:
test_script:
alias: Test Script
sequence:
- service: shell_command.cmd_test_script

shell_command:
cmd_test_script: ‘ls > ls.txt’

logs

2019-06-03 15:00:34 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1863736688] Received {‘type’: ‘call_service’, ‘domain’: ‘script’, ‘service’: ‘turn_on’, ‘service_data’: {‘entity_id’: ‘script.test_script’}, ‘id’: 18}
2019-06-03 15:00:34 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=script, service=turn_on, service_data=entity_id=script.test_script>
2019-06-03 15:00:34 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=script, service=test_script, service_data=>
2019-06-03 15:00:34 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event script_started[L]: name=Test Script, entity_id=script.test_script>
2019-06-03 15:00:34 INFO (MainThread) [homeassistant.helpers.script] Script Test Script: Running script
2019-06-03 15:00:34 INFO (MainThread) [homeassistant.helpers.script] Script Test Script: Executing step call service
2019-06-03 15:00:34 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=shell_command, service=cmd_test_script, service_data=>

HA stops writing more log because it is frozen.

What happens?

Thanks!

I have been able to verify that I am affected by this bug with stream: