sub CIrc_check{ my %SETUP=%{$_[0]}; print "\033[33m Embed.pl invoked\033[0m\n"; my $link=$SETUP{SVN}; my $output_path=$SETUP{LOCATION_OF_OUTPUT}; my $model_name=$SETUP{MODEL_NAME}; $output_path=$output_path."/"."EMBED_RESULT"; `mkdir $output_path`; chdir $output_path or die "Can't cd to $output_path : $!\n"; `xterm -e embed.pl -link $link &`; #When embed.pl strikes with an error in link or something it evaluated it throws zenity tag sayin error in model name or so }