Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtCreator Run error with shell redirection

QtCreator Run error with shell redirection

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 364 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    abarmotov
    wrote on last edited by
    #1

    Ubuntu 20.04, QtCreator 4.13.0
    My console programm command line arguments is: < <(echo "123 456").
    Running this simple console programm from creator outputs error: /bin/sh: 1: Syntax error: redirection unexpected
    But in bash shell runs is ok
    In Enviroment settings SHELL is "/bin/bash"
    Why creator runs "sh" ?

    aha_1980A 1 Reply Last reply
    0
    • A abarmotov

      Ubuntu 20.04, QtCreator 4.13.0
      My console programm command line arguments is: < <(echo "123 456").
      Running this simple console programm from creator outputs error: /bin/sh: 1: Syntax error: redirection unexpected
      But in bash shell runs is ok
      In Enviroment settings SHELL is "/bin/bash"
      Why creator runs "sh" ?

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by aha_1980
      #2

      Hi @abarmotov,

      when you create a bugreport as follow-up, it's nice if you add a link here, so others can follow. Thanks!

      This leads to: QTCREATORBUG-24659

      Regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved