title: gdb how to continue exec with stdin args with continue command
body: <p>i am playing <code>ctf</code> and the program is checking if input is <code>proccess pid</code> then get shell now i getpid with <strong>gdb-peda</strong> by <code>getpid</code> command of gdb-peda how i can continue exec with stdin args that i will input the pid within it ?</p>
  
  <p>i have tried 
  <code>gdb&gt; break *main+0</code>
  <code>gdb&gt; r</code>
  <code>break point 1 + 0x0...</code>
  <code>gdb&gt; getpid</code>
  <code>gdb&gt; continue (pid)</code>
  the problem that i cant pass input to the program while its already running it exited normally without my argument how to solve i need to stdin to the program after the breakpoint ?</p>