Changeset 1dab093 in mainline


Ignore:
Timestamp:
2017-11-02T18:39:33Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bd92e6d5
Parents:
aad43a8
Message:

Fix ew.py run in console with niagara build.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/ew.py

    raad43a8 r1dab093  
    6565
    6666def run_in_console(cmd, title):
    67         cmdline = termemu_detect() + ' -T ' + '"' + title + '"' + ' -e \'' + cmd + '\''
     67        ecmd = cmd.replace('"', '\\"')
     68        cmdline = termemu_detect() + ' -T ' + '"' + title + '"' + ' -e "' + ecmd + '"'
    6869        print(cmdline)
    6970        if not is_override('dryrun'):
Note: See TracChangeset for help on using the changeset viewer.