P
pauls
Hi,
I am trying to start another program from within PERL useing "exec"
The problem arises due to, I think, a space in a pathname as follows:
exec("d:\\programfiles\\fred\\program v10.1\\wefit.exe plot.dat");
I am trying to start the program "wefir" on the file "plot.dat"
You'll notice how part of the path to the executable includes a space in
one of the directory names.
If the "wefit" file is located in a directory without a space in the
directory name the above type of code of works fine. But, I am stuck
with the space in the pathname (for now) and need a work around.
Anyone have any helpful thoughts on this?
Thanks!
Paul
I am trying to start another program from within PERL useing "exec"
The problem arises due to, I think, a space in a pathname as follows:
exec("d:\\programfiles\\fred\\program v10.1\\wefit.exe plot.dat");
I am trying to start the program "wefir" on the file "plot.dat"
You'll notice how part of the path to the executable includes a space in
one of the directory names.
If the "wefit" file is located in a directory without a space in the
directory name the above type of code of works fine. But, I am stuck
with the space in the pathname (for now) and need a work around.
Anyone have any helpful thoughts on this?
Thanks!
Paul