Hey BrowserUIK, thanks for the reply!

Ok assuming you meant pass "cmd" before my script name, here's what happened:
        *The first line is just regular output from main_script.pl...
New Proc::Background Command:
$proc = Proc::Background->new("cmd bg_script.pl $speed_ARG \"$ticker_ARG\" $start_ARG $end_ARG $color_ARG");
C:\Script_dir>main_script.pl EXECUTING bg_script.pl ON WIN32: A subdirectory or file .exe already exists. Error occurred while processing: .exe. A subdirectory or file bg_script.pl already exists. Error occurred while processing: bg_script.pl. A subdirectory or file --speed already exists. Error occurred while processing: --speed. A subdirectory or file 5 already exists. Error occurred while processing: 5. A subdirectory or file --start-in already exists. Error occurred while processing: --start-in. A subdirectory or file now already exists. Error occurred while processing: now. A subdirectory or file --end-in already exists. Error occurred while processing: --end-in. A subdirectory or file end-of-day already exists. Error occurred while processing: end-of-day. A subdirectory or file --ticker-color already exists. Error occurred while processing: --ticker-color. A subdirectory or file 0xFF0000 already exists. Error occurred while processing: 0xFF0000.
FYI: The one arg that has the \"...\" around it is because that command might and usually
will contain whitespace.

Where is it getting the ".exe" from in that first error, is that from the "cmd" command? Also, it
looks like it's giving errors on my CLI Args too.

Thanks again for the reply!


Thanks,
Matt


In reply to Re^2: Using Proc::Background and Win32 by mmartin
in thread Using Proc::Background and Win32 by mmartin

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.