Powershell is delayed or blocked #1344
Unanswered
jcbsorensen
asked this question in
Q&A
Replies: 1 comment 1 reply
-
This is due to a bug in For now you can use a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello :)
I am experiencing weird behavior with LF when using powershell commands. If I enter the shell and type something like 'new-item test.txt' then LF executes the command immediately (and the test.txt file pops up). However, when I make a small powershell script inside the lfrc file and execute it (fx mapping), LF will not execute it right away - at first nothing happens and when I hit q to exit LF and subsequently return to LF then the powershell script has been executed and the file suddenly exists. It seems like the powershell script execution is being blocked when triggered from a predefined mapping from lfrc.
Example lfrc content:
set shell powershell
cmd test_me &mkdir test_dir
map DD test_me
If I press DD then nothing happens .But when I return to LF then the test_dir exists. This is not the case if I execute the powershell script manually in the shell within LF.
Does anyone have experience with this issue?
I know it has been stated that powershell can be problematic for LF but I just want to ensure I am not doing anything wrong.
~Jacob
Beta Was this translation helpful? Give feedback.
All reactions