Skip to content

Commit

Permalink
[BUG] Batchfiles are not executed from their storage directory (#372)…
Browse files Browse the repository at this point in the history
…, 1.2.9.3
  • Loading branch information
Hofknecht committed Apr 10, 2022
1 parent 137a792 commit a16e8eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion DataClasses/RowData.cs
Expand Up @@ -268,7 +268,8 @@ private void OpenItem(MouseEventArgs e, ref bool toCloseByOpenItem)
(e == null || e.Button == MouseButtons.Left))
{
ProcessStarted = true;
Log.ProcessStart(TargetFilePathOrig, string.Empty, false, string.Empty, true);
string workingDirectory = Path.GetDirectoryName(TargetFilePath);
Log.ProcessStart(TargetFilePathOrig, string.Empty, false, workingDirectory, true);
if (!Properties.Settings.Default.StaysOpenWhenItemClicked)
{
toCloseByOpenItem = true;
Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Expand Up @@ -39,5 +39,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2.9.2")]
[assembly: AssemblyFileVersion("1.2.9.2")]
[assembly: AssemblyVersion("1.2.9.3")]
[assembly: AssemblyFileVersion("1.2.9.3")]

0 comments on commit a16e8eb

Please sign in to comment.