Viewing a perl script, it executes instead
search cancel

Viewing a perl script, it executes instead

book

Article ID: 116804

calendar_today

Updated On:

Products

CA Harvest Software Change Manager - OpenMake Meister CA Harvest Software Change Manager CA Harvest Software Change Manager - OpenMake Meister

Issue/Introduction

Why is Harvest Workbench trying to execute a perl script when I just try to view it within Harvest (double click)?  I thought viewing just did a check out for browse.

Environment

Harvest Software Change Manager v12.x and up
Windows platform
SCM Client or Workbench-only Client

Resolution

The Workbench documentation explains that you can specify whether to open a file with a Double click or a Single Click.  This is found in Tools -> Preferences -> General.

The thing is, Workbench will use whatever default application is configured in Windows to open the file.  This may be an editor, or in the case of a Perl script it might be the Perl Command Interpreter.  You will see the same behavior if you double click on a perl script from Windows Explorer.

The easiest way to see which default program is configured is to right click on the file in Windows Explorer and select Open with -> Choose default program.

The next window will show you which is the default application and offer choices for other applications to use as the default application.  To change the default program, select the new one from the list.  After that, when you double click on the Perl script in Windows or in Workbench, the new default program will be used.

Additional Information

Here is the link to the page that explains more about setting preferences for Workbench:  Set Workbench and Eclipse Preferences