[ic] how to run system command in [perl] tag
Shailesh Setha
interchange-users@icdevgroup.org
Mon Apr 21 00:43:17 2003
Hello All,
I am trying to create downloadable items.
For that I want to use 'system()' command.
I have written like this
[perl]
$dir="xyz";
system("mkdir $dir"); # (and this also system('mkdir $dir');)
$out="The directory $dir is created.";
return $out;
[/perl]
But no effect, no directory is created and nothing is returned.
I have changed the owner to root.
Does Interchange allow system commands?
If not is there any other way to do so?
Or can I change the some variable to enable this command?
Any help is greatly appreciated.
Thanks in advanced.
Er. Shailesh Setha