--- a/src/eric7/Documentation/Source/eric7.SystemUtilities.FileSystemUtilities.html Mon Dec 11 10:30:24 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.SystemUtilities.FileSystemUtilities.html Mon Dec 11 10:31:27 2023 +0100 @@ -146,6 +146,10 @@ <td>Function to split a pathname into a directory part and a file part.</td> </tr> <tr> +<td><a href="#startfile">startfile</a></td> +<td>Function to open the given file path with the system default application.</td> +</tr> +<tr> <td><a href="#startswithPath">startswithPath</a></td> <td>Function to check, if a path starts with a given start path.</td> </tr> @@ -1121,6 +1125,35 @@ <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> +<a NAME="startfile" ID="startfile"></a> +<h2>startfile</h2> +<b>startfile</b>(<i>filePath</i>) + +<p> + Function to open the given file path with the system default application. +</p> +<dl> + +<dt><i>filePath</i> (str or Path)</dt> +<dd> +file path to be opened +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +flag indicating a successful start of the associated application +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> <a NAME="startswithPath" ID="startswithPath"></a> <h2>startswithPath</h2> <b>startswithPath</b>(<i>path, start</i>)