Describe the bug
Running sw run main.cpp throws an exception:
> sw run "src/vector/vector.cpp"
Downloading database from origin remote
[1/3] [vector-0.0.1]/vector.cpp
[2/3] [vector-0.0.1]/[bdir_pvt]/sw.rc
[3/3] [vector-0.0.1].exe
Exception in file D:/dev/cppan2/client2/src/sw/client/common/command/run.cpp:132, function command_run: More than one target provided in input
If I run the generated file manually, it works as expected. (A simple "Hello World" main)
Expected behavior
After successfully building the executable, it should run it properly.
To Reproduce
Steps to reproduce the behavior:
Create a very simple test.cpp file
sw run test.cpp
Information:
sw.client.sw version 1.0.0
git revision db82472ee934dfb8e064af419d4d8d4254b724a3
assembled on
02.06.2021 21:58:26 UTC
02.06.2021 23:58:26 Romance Daylight Time
Describe the bug Running
sw run main.cpp
throws an exception:If I run the generated file manually, it works as expected. (A simple "Hello World" main)
Expected behavior After successfully building the executable, it should run it properly.
To Reproduce Steps to reproduce the behavior:
test.cpp
filesw run test.cpp
Information: sw.client.sw version 1.0.0 git revision db82472ee934dfb8e064af419d4d8d4254b724a3 assembled on 02.06.2021 21:58:26 UTC 02.06.2021 23:58:26 Romance Daylight Time