opened
rgl
username_0
on windows, the generated release `.cmd` file is missing the `foreground` argument, can this be included in a future release?

for reference, this is what I did, and as you can see, the generated `example.cmd` file does not have the foreground argument:

```
rebar3 new release example
cd example
rebar3 as prod release
.\_build\prod\rel\example\bin\example.cmd
```

it outputs:

```
usage: example (install|uninstall|start|stop|restart|upgrade|downgrade|console|ping|list|attach|remote_console)
```

I'm using rebar 3.6.1 on Erlang/OTP 21 Erts 10.2
windows release .cmd foreground argument?
issue
created
ferd
username_1
`foreground` is not yet supported, but the feature must be added to relx. See https://github.com/erlware/relx/blob/master/priv/templates/extended_bin_windows for example. Once relx supports the feature and it gets released, we can update the rebar3 dependency on it and support it as well.

The problem as I can see it is that on windows, there is no attempt to start with anything but werl.exe or as a service, and therefore there was no way to get either in foreground mode (non-interactive). It could be added by using erl.exe anyway, which should be present.
comment