Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
ssystem - invoke a command in the host operating system
Calling Sequence
ssystem(command)
ssystem(command, timeout)
Parameters
command
-
Maple string
timeout
integer
Description
The function ssystem passes command to the host operating system which performs the appropriate function.
If timeout is specified, the command is given at most that many seconds of CPU time in which to execute. Note: The timeout parameter to ssystem may be ignored on some operating systems.
ssystem returns a 2 element list. The first element is the return code of the command, which is operating system dependent, but usually 0 indicates success and any other value indicates failure. This return code is the same as would be generated by system. The second element is the result of the command, in a Maple string.
If the command is terminated because of exceeding the time limit, the following list is returned
The behavior of ssystem is exactly the same as that of system, except that in the case of ssystem, the result is returned to Maple so that it can be used in the session.
Invoking interactive commands via system or ssystem can result in undefined behavior.
Some operating system commands may not be accessible via this mechanism.
Thread Safety
The ssystem command is thread-safe as of Maple 15.
For more information on thread safety, see index/threadsafe.
Examples
See Also
system
Download Help Document