See also entry in DESCRIPTION file
Usage: ProENGINEER [options] [command] [startup-options]
ProENGINEER is the startup command for Pro/ENGINEER.
options: -h => this help screen
-n => do not show confirmation window if Pro/E
crashes or if license is already running.
-r => Run license remote. Do not reset REMOTE
variables.
-c => Force Pro/E to crash when a trail file runs
out of sequence.
-v => Check which version of Pro/E is installed.
-k => Keep $HOME/.pdm-links file (default is to
remove)
-p proxx => Use proxx as start command.
If you specify the -s option Pro/ENGINEER will startup from current
directory.
If you specify [command] this script will use the command to startup
Pro/ENGINEER if it exists in the command-list.
Examples (combinations are possible):
ProENGINEER test_model.asm (retrieve model)
ProENGINEER 1111 (debugging mode)
ProENGINEER trailfile.txt (start trail
file)
ProENGINEER -1 0 3 -batchfile batchfile.txt (Run plot
batch-file)
ProENGINEER -scn trail.txt
etc...
It returns the following exit codes:
0 - OK
1 - Pro/ENGINEER has crashed (trail file did not end with #EXIT)
2 - unknown option or user break.
Author: Olaf Corten, the Netherlands
E-Mail: olafc@molding.fico.nl or ocorten@knoware.nl
################################################################################
# History:
#
# 19991124 added -k option
# 19990427 fixed crash_code error: "if -expression syntax"
# 19990413 proe_exit_code added to crash_code.
# 19990219 Changed SCRIPTS_DIR extraction.
# 19990107 Added PROE_EXIT_CODE
# 19981009 Added sfplay when proe crashed ;-)
# 19980803 Automatic removal of .pdm-links file added.
# 19980604 Updated for R19
# 19980603 Fixed starting pro from pro/pdm after adding -p option.
# 19980527 Now counting number of menu items in trail file instead of just lines.
# 19970829 Added CANCEL param to disable "Cancel" button if Pro/E is started
# from Pro/PDM and one is already running.
# 19970815 Added CRASH_CODES to logfile. Added hidden option -l.
# 19970811 Fixed crash check. Added breakswitches in switch ( 'uname -s' ).
# 19970528 Added EXIT_CODE and BATCHMODE
# 19970131 First version. Copied from script ProENGINEER
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose, without fee, and without written agreement is
# hereby granted, provided that the following two paragraphs appear in all
# copies of this software.
#
# IN NO EVENT SHALL OLAF CORTEN OR HIS EMPLOYER BE LIABLE TO ANY PARTY FOR
# DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
# OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF OLAF CORTEN OR HIS
# EMPLOYER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# OLAF CORTEN AND HIS EMPLOYER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,
# AND OLAF CORTEN OR HIS EMPLOYER HAS NO OBLIGATION TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
# This Software is NOT supported by Parametric Technology Corporation.
#
##################################################################################
|