Skip to content

Commit

Permalink
feat: run windows-mosaic with wsl-ns3 (#425)
Browse files Browse the repository at this point in the history
* refactor: don't use this whenever possible
  • Loading branch information
hoelger authored Oct 17, 2024
1 parent d5cde81 commit bb12ae1
Show file tree
Hide file tree
Showing 3 changed files with 116 additions and 87 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public FederateExecutor createFederateExecutor(String host, int port, OperatingS
case LINUX:
return new ExecutableFederateExecutor(this.descriptor, "./run.sh", Integer.toString(port));
case WINDOWS:
return new ExecutableFederateExecutor(this.descriptor, "wsl.exe", "./run.sh", Integer.toString(port));
case UNKNOWN:
default:
log.error("Operating system not supported by ns3");
Expand Down
Loading

0 comments on commit bb12ae1

Please sign in to comment.