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
| [reply] [d/l] |
| [reply] [d/l] [select] |
Hey BrowserUK, thanks AGAIN for the reply!
Yea, I did see that... See my most recent comment that I must have been writing as you
were writing yours.
I'm definitely NOT married to the Proc::Background way, so as long as I can execute this
script in the background and also have the ability to check if it's still running or not, then
that's fine by me...
Thanks Again,
Matt
| [reply] |