:: com :: sun :: star :: system ::
|
interface XSystemShellExecute |
|
- Description
- Specifies an interface for executing a system command.
|
Methods' Summary |
execute |
Executes an arbitrary system command.
|
Methods' Details |
execute
- Description
- Executes an arbitrary system command.
- Parameter aCommand
- Specifies the command to execute. This may be an executable file or a
document which is registered with an application on a specific platform,
so that the platform knows what application to launch for that document.
If the command specifies a path to an executable, etc, this has to be
a system specific path.
- Parameter aParameter
- Specifies a list of space separated parameters. The method does not
validate the given parameters, but only passes it as a parameter to the
specified command.
- Parameter nFlags
- Specifies different flags to control the execution of this method, for example,
avoid showing system error messages, in case of failures, etc.
- Throws
- com::sun::star::lang::IllegalArgumentException
when the specified flags are wrong or exclude each other; also thrown,
with an ArgumentPosition of 0, when nFlags contains URIS_ONLY and
aCommand is not an absolute URI reference
- Throws
- com::sun::star::system::SystemShellExecuteException
in the case of errors when trying to executed the specified command.
- See also
- SystemShellExecuteFlags
|
|
Top of Page
Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.