pass a parameter using system command.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Archanak
    New Member
    • Sep 2006
    • 79

    pass a parameter using system command.

    Hi,

    I am using system command to call a program.

    system("perl mail.cgi").

    To this i want to pass an argument?

    How do i pass an argument to system command?


    with regards
    Archana
  • npidaparthy
    New Member
    • Feb 2008
    • 14

    #2
    try thr following, its working for me

    system('perl display.cgi AAA BBB);

    -NP

    Originally posted by Archanak
    Hi,

    I am using system command to call a program.

    system("perl mail.cgi").

    To this i want to pass an argument?

    How do i pass an argument to system command?


    with regards
    Archana

    Comment

    Working...