<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - No way to send stdin to remote process from command line"
   href="https://llvm.org/bugs/show_bug.cgi?id=27719">27719</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>No way to send stdin to remote process from command line
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>vince@nethacker.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When I connect to a remote process, I get the (lldb) prompt back after
launching a process that needs stdin

vharron@tifa:~/ll/tot/lldb/test$ ../../build/host/bin/lldb
(lldb) log enable -Tpn -f /tmp/packet.log gdb-remote all
(lldb) log enable -Tpn -f /tmp/lldb.log lldb all
(lldb) platform select remote-linux
  Platform: remote-linux
 Connected: no
(lldb) platform connect connect://192.168.100.132:5432
  Platform: remote-linux
    Triple: x86_64--linux-gnu
OS Version: 3.13.0 (3.13.0-32-generic)
    Kernel: #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014
  Hostname: ubuntu
 Connected: yes
WorkingDir: /home/vharron/host
(lldb) platform settings --working-dir /tmp
option[4] --user-write has a short option -w that conflicts with option[0]
--working-dir, short option won't be used for --user-write
(lldb) file ~/ll/tot/lldb/test/python_api/process/io/process_io
Current executable set to '~/ll/tot/lldb/test/python_api/process/io/process_io'
(x86_64).
(lldb) process launch -e /tmp/error.txt
Process 6436 launched:
'/usr/local/google/home/vharron/ll/tot/lldb/test/python_api/process/io/process_io'
(x86_64)
Hello world.
(lldb)  
error: No auto repeat.
(lldb) kill
Process 6436 stopped
Process 6436 exited with status = 9 (0x00000009) 
(lldb) process launch
Process 6460 launched:
'/usr/local/google/home/vharron/ll/tot/lldb/test/python_api/process/io/process_io'
(x86_64)
Hello world.
(lldb)


We also need a test to protect this functionality once implemented.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>