in reply to how to open a file with space in its name
Use the list version of system, which is safer anyway:
my @cmd = ($ENV{COMSPEC}, "/c", "start", "soffice.exe", $file); system(@cmd) == 0 or die "Couldn't launch @cmd: $! / $?";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to open a file with space in its name
by bart (Canon) on Jan 06, 2006 at 01:19 UTC | |
|
Re^2: how to open a file with space in its name
by arunmep (Beadle) on Jan 05, 2006 at 08:31 UTC |