5

Apparently, editing a Linux shell script while it is being executed results in an undefined behavior.

What happens when you edit a PowerShell script while it is being executed?

Hope
  • 1,051
  • 13
  • 17

1 Answers1

1

PowerShell parses everything from top to bottom once and never goes back again.
Once it's in, it's in :)
If you need to reload as example, a PowerShell module into a current session you have to use the -Force flag.

Dennis
  • 871
  • 9
  • 29