Skip to content

Conversation

@taooceros
Copy link
Member

fix #1085

@taooceros taooceros self-assigned this May 15, 2022
info.Arguments = $"{(_settings.LeaveShellOpen ? "/k" : "/c")} {command}";

// ArgumentList may break original shell command separation with quote.
// info.ArgumentList.Add(_settings.LeaveShellOpen ? "/k" : "/c");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These commented out code is not removed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes we can remove it. Probably it would be better to change all argumentlist to plain arguments, because we want to allow user to have the most control over the argument they are writing.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes agree.

@jjw24
Copy link
Member

jjw24 commented May 15, 2022

Any chance we can add tests to this?

@jjw24 jjw24 added the bug Something isn't working label May 15, 2022
@jjw24 jjw24 added this to the 1.10.0 milestone May 15, 2022
@taooceros
Copy link
Member Author

Any chance we can add tests to this?

I have limited idea about how to write test for this.

@jjw24
Copy link
Member

jjw24 commented Jun 21, 2022

This is still not working, you can test by running mkdir c:\new test with Shell plugin, should create a folder called 'new test' in c:\

@taooceros
Copy link
Member Author

I haven't given another round of test, but I think you need to type mkdir "C:\new test" instead?

@jjw24
Copy link
Member

jjw24 commented Jun 21, 2022

yes you are right 🤦 too early in the day for me right now lol

@jjw24 jjw24 force-pushed the fix_cmd_command_with_blank branch from 5b1554d to 9b894b3 Compare June 21, 2022 21:55
Copy link
Member

@jjw24 jjw24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jjw24 jjw24 enabled auto-merge June 21, 2022 22:00
@jjw24 jjw24 modified the milestones: 1.10.0, 1.9.4 Jun 21, 2022
@jjw24 jjw24 merged commit b0f9b48 into dev Jun 21, 2022
@jjw24 jjw24 deleted the fix_cmd_command_with_blank branch June 21, 2022 22:10
jjw24 added a commit that referenced this pull request Jul 23, 2022
Fix shell cmd command with quote and space
@jjw24 jjw24 mentioned this pull request Jul 23, 2022
jjw24 added a commit that referenced this pull request Jul 24, 2022
* Merge pull request #1205 from Flow-Launcher/fix_cmd_command_with_blank

Fix shell cmd command with quote and space

* Bump NuGet.CommandLine from 5.4.0 to 5.7.2 (#1241)

* Merge pull request #1098 from Flow-Launcher/ScrollToSelectedPlugin

Scroll to selected item when expanded or size changed

* fix RemoveOldQueryResults NullPointerException (#1204)

* Merge pull request #1005 from Flow-Launcher/KillProcess

Use Cancellation Token to avoid potential race tracing issue

* Merge pull request #1187 from Flow-Launcher/update_python_download_mirrors

Update Python download mirrors

* Merge pull request #1108 from Flow-Launcher/CalculatorDecimalSeparator

Respect Decimal Separator for query not just result

* Merge pull request #1087 from Flow-Launcher/turnoff_replace_win_r_shell

Set Shell plugin's default replace Win R hotkey to off

* Merge pull request #1077 from Flow-Launcher/fix_explorer_button_visibility

Fix incorrect button visibility in Explorer's expander control

* Merge pull request #1076 from Flow-Launcher/fix_path_search_with_index

Fix the use of index in path search

* Merge pull request #1071 from medlir/fix-browser-bookmarks-plugin-exception

avoid exception in ChromiumBookmarkLoader.cs

* Merge pull request #1056 from Flow-Launcher/fix_context_menu_typo

Fix typo for plugin title in context menu and WindowsSettings name

* Merge pull request #1119 from onesounds/antialising

Remove All Cleartype Rendering

* Version bump

* Remove Calculator plugin CopyText feature for 1.9.4 release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Archived in project
Status: Done

Development

Successfully merging this pull request may close these issues.

The Shell plugin cannot parse file directory that contains blanks

3 participants