Function Entry: STARTAPP

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: STARTAPP

Name

startapp

Class

Application-handling function

Syntax

(startapp appcmd [file])

Arguments and Values

  • appcmd: application command or executable designator
  • file: optional file or argument string

Autodesk documents both as strings.

Description

Starts an external application.

Return Values

Integer greater than 0, or nil.

Side Effects

Launches an external application or process.

Compatibility

Highly host-environment-sensitive. clautolisp should model this through the selected environment profile rather than by exposing raw native-host behavior.

Availability

  • AutoCAD 2026: documented (per Autodesk reference page).
  • BricsCAD V26: presumed compatible (no contradicting page found).
  • Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.

Notes

  • Autodesk documents that if appcmd is not a full path, the host searches PATH or the platform equivalent.
  • Autodesk documents that arguments containing spaces must be quoted explicitly inside the string.

Compatibility

Supported on Windows and macOS, not Web.