Re: Passing program arguments to memprof



On Wed, 2003-04-30 at 03:03, Henrik Sandklef wrote:
> HI!
> 
>  I wonder how I pass parameters/arguments to my program wen using memprof.
> I have made a script wrapper that memprof starts (using follow exec,
> forks). But I figure that there is another way?
> 
>  e.g: memprof ./my_binary my_first_arg my_second_arg

 memprof --  ./my-binary my_first_arg my_second_arg

This is a fairly standard convention; -- ends command line arguments.

(You can also put command line arguments in the run dialog
without any special precautions if you start your program that way.)

Regards,
                                                  owen





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]