Re: exec() arguments get confusing

From: Barry Margolin (barmar_at_alum.mit.edu)
Date: 05/29/05


Date: Sat, 28 May 2005 18:40:48 -0400

In article <1117314500.559087.34790@o13g2000cwo.googlegroups.com>,
 "Bert" <bad_bert@hotmail.com> wrote:

> Ok but do you confirm that the correct call to execlp() is
> execlp("ssh","ssh",...,(char*)0) where as usual, ... stands for
> arguments passed to ssh ?

Yes.

>
> Paul Pluzhnikov a écrit :
> > "Bert" <bad bert@hotmail.com> writes:
> >
> > > The weird thing is that it's not systematic
> >
> > There is probably a bug in your program. Try creating a minimal test
> > case that still shows the problem, and your bug will be revealed.
> >
> > Cheers,
> > --
> > In order to understand recursion you must first understand recursion.
> > Remove /-nsp/ for email.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


Relevant Pages

  • Re: exec() arguments get confusing
    ... Paul Pluzhnikov a écrit: ... > case that still shows the problem, and your bug will be revealed. ... > In order to understand recursion you must first understand recursion. ...
    (comp.unix.programmer)
  • Re: slurping in binary data
    ... that I must figure out precisely why it is that I don't expect the bug ... However, the recursion always ... I recently investigated a bug where there were missing packets from the output files of one of my programs. ... Because those were the easiest things to check, they were also the first things I checked (despite direct orders from upper management that I was not supposed to "waste" any time investigating the "impossibility" that those input files were defective). ...
    (comp.lang.c)
  • Re: slurping in binary data
    ... that I must figure out precisely why it is that I don't expect the bug ... However, the recursion always ... there were missing packets from the output files of one of my programs. ... certain assumptions about the contents of the input files. ...
    (comp.lang.c)
  • Re: Python bug? Named parameters in recursive calls sometimes confuses python?
    ... > Isn't it possible that the code has just returned twice? ... down in the recursion, instead of reverting to the object ... a Python bug! ... (It's the pure Python version 0.8) ...
    (comp.lang.python)
  • Re: [PATCH] workqueue: not allow recursion run_workqueue
    ... works is not run orderly when recursion run_workqueue ... It's bug. ... So we should not allow workqueue trying to flush its own queue. ... struct workqueue_struct *wq; ...
    (Linux-Kernel)